TimeSpan..::..Negate Method
Returns a new TimeSpan object whose value is the negated value of this instance.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
Return Value
A new object with the same numeric value as this instance, but with the opposite sign.Exceptions
Exception | Condition |
---|---|
System..::..OverflowException | The negated value of this instance cannot be represented by a TimeSpan; that is, the value of this instance is MinValue. |