This documentation is archived and is not being maintained.
TimeSpan Operators
Visual Studio 2010
The TimeSpan type exposes the following members.
| Name | Description | |
|---|---|---|
|
Addition | Adds two specified TimeSpan instances. |
|
Equality | Indicates whether two TimeSpan instances are equal. |
|
GreaterThan | Indicates whether a specified TimeSpan is greater than another specified TimeSpan. |
|
GreaterThanOrEqual | Indicates whether a specified TimeSpan is greater than or equal to another specified TimeSpan. |
|
Inequality | Indicates whether two TimeSpan instances are not equal. |
|
LessThan | Indicates whether a specified TimeSpan is less than another specified TimeSpan. |
|
LessThanOrEqual | Indicates whether a specified TimeSpan is less than or equal to another specified TimeSpan. |
|
Subtraction | Subtracts a specified TimeSpan from another specified TimeSpan. |
|
UnaryNegation | Returns a TimeSpan whose value is the negated value of the specified instance. |
|
UnaryPlus | Returns the specified instance of TimeSpan. |
Show: