NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TimeSpan Operators

The operators of the TimeSpan structure are listed below. For a complete list of TimeSpan structure members, see the TimeSpan Members topic.

Public:

Addition Operator Adds two TimeSpan values.
Equality Operator Determines whether two TimeSpan objects are equal.
Greater Than Operator Determines whether the first TimeSpan is greater than to the second TimeSpan.
Greater Than Or Equal Operator Determines wheter the first TimeSpan is greater than and equal to the second TimeSpan.
Inequality Operator Determines whether two TimeSpan objects are equal.
Less Than Operator Determines whether the first TimeSpan is less than to the second TimeSpan.
Less Than Or Equal Operator Determines wheter the first TimeSpan is less than and equal to the second TimeSpan.
Subtraction Operator Subtracts one TimeSpan value from specified TimeSpan.
Unary Negation Operator Subtracts a specified TimeSpan from this instance.

See Also

TimeSpan Structure | System Namespace