Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TimeSpan Operators

The TimeSpan type exposes the following members.

  Name Description
Public operator Static member Addition Adds two specified TimeSpan instances.
Public operator Static member Equality Indicates whether two TimeSpan instances are equal.
Public operator Static member GreaterThan Indicates whether a specified TimeSpan is greater than another specified TimeSpan.
Public operator Static member GreaterThanOrEqual Indicates whether a specified TimeSpan is greater than or equal to another specified TimeSpan.
Public operator Static member Inequality Indicates whether two TimeSpan instances are not equal.
Public operator Static member LessThan Indicates whether a specified TimeSpan is less than another specified TimeSpan.
Public operator Static member LessThanOrEqual Indicates whether a specified TimeSpan is less than or equal to another specified TimeSpan.
Public operator Static member Subtraction Subtracts a specified TimeSpan from another specified TimeSpan.
Public operator Static member UnaryNegation Returns a TimeSpan whose value is the negated value of the specified instance.
Public operator Static member UnaryPlus Returns the specified instance of TimeSpan.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.