Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Duration.Subtract(Duration) Method

Definition

Namespace:
Windows.UI.Xaml
Assembly:
System.Runtime.WindowsRuntime.UI.Xaml.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Subtracts the specified Duration from this Duration.

public:
 Windows::UI::Xaml::Duration Subtract(Windows::UI::Xaml::Duration duration);
public Windows.UI.Xaml.Duration Subtract(Windows.UI.Xaml.Duration duration);
member this.Subtract : Windows.UI.Xaml.Duration -> Windows.UI.Xaml.Duration
Public Function Subtract (duration As Duration) As Duration

Parameters

duration
Duration

The Duration to subtract from this Duration.

Returns

The subtracted Duration.

Remarks

This struct represents the .NET projection of the Windows Runtime (WinRT) Duration struct. For more information, see Duration in the UWP API reference.

Applies to


Feedback

Was this page helpful?