Duration.Subtract(Duration) Duration.Subtract(Duration) Duration.Subtract(Duration) Method

Definition

Subtracts the value of the specified instance of Duration from this instance.

public:
 System::Windows::Duration Subtract(System::Windows::Duration duration);
public System.Windows.Duration Subtract (System.Windows.Duration duration);
member this.Subtract : System.Windows.Duration -> System.Windows.Duration

Parameters

duration
Duration Duration Duration

The instance of Duration to subtract from the current instance.

Returns

A new instance of Duration whose value is the result of this instance minus the value of duration.

Applies to