Duration.Subtract(Duration) Method

Definition

Subtracts the specified Duration from this Duration.

public Windows.UI.Xaml.Duration Subtract (Windows.UI.Xaml.Duration 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

Product Versions
UWP 10.0