UnaryNegation Operator

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns a TimeSpan whose value is the negated value of the specified instance.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public static TimeSpan operator -(
	TimeSpan t


Type: System..::..TimeSpan
The time interval to be negated.

Return Value

Type: System..::..TimeSpan
An object that has the same numeric value as this instance, but the opposite sign.