Duration::Subtract Method (Duration)
.NET Framework (current version)
Subtracts the value of the specified instance of Duration from this instance.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- duration
-
Type:
System.Windows::Duration
The instance of Duration to subtract from the current instance.
Return Value
Type: System.Windows::DurationA new instance of Duration whose value is the result of this instance minus the value of duration.
.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: