Export (0) Print
Expand All

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
Show:
© 2014 Microsoft