[This is preliminary documentation and is subject to change.]

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

Namespace: Tools
Assembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
public static TimeSpanFormattable operator -(
	TimeSpanFormattable t
)
Visual Basic
Public Shared Operator - ( _
	t As TimeSpanFormattable _
) As TimeSpanFormattable
Visual C++
public:
static TimeSpanFormattable operator -(
	TimeSpanFormattable t
)
F#
static let inline (-)
        t:TimeSpanFormattable  : TimeSpanFormattable
JScript
JScript does not support overloaded operators.

Return Value

A TimeSpanFormattable with the same numeric value as this instance, but the opposite sign.

Exceptions

ExceptionCondition
System..::..OverflowExceptionThe negated value of this instance cannot be represented by a TimeSpan; that is, the value of this instance is MinValue.

See Also