Duration.Add MethodDuration.Add MethodDuration::Add Method
Parameters
- duration1
- duration2
Return Value
Type: XmlPrime.DurationXmlPrime.DurationXmlPrime::Duration
A DurationDurationDuration that is the sum of duration1 and duration2.
Exceptions
Exception | Condition |
OverflowExceptionOverflowExceptionOverflowException | The sum of duration1 and duration2 is less than MinValueMinValueMinValue or greater than MaxValueMaxValueMaxValue. |