[This is preliminary documentation and is subject to change.]
Returns a TimeSpanFormattable whose value is the negated value of the specified instance.
Namespace: ToolsAssembly: 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 |
|---|
|
Parameters
Return Value
A TimeSpanFormattable with the same numeric value as this instance, but 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. |