Duration.Subtract(Duration) Method
Definition
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 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
Public Function Subtract (duration As Duration) As Duration
Parameters
Returns
A new instance of Duration whose value is the result of this instance minus the value of duration
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.