Duration.Subtract MethodDuration.Subtract MethodDuration::Subtract Method
Parameters
- duration1
- duration2
Return Value
Type: XmlPrime.DurationXmlPrime.DurationXmlPrime::Duration
A DurationDurationDuration that is the result of subtracting duration2 from duration1.
Exceptions
Exception | Condition |
OverflowExceptionOverflowExceptionOverflowException | The return value would be less than MinValueMinValueMinValue or greater than MaxValueMaxValueMaxValue. |