Redigeeri

Jagamisviis:


Duration.Subtract(Duration) Method

Definition

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