Click or drag to resize
TimeSpan Operators

The TimeSpan type exposes the following members.

Operators
  NameDescription
Public operatorStatic memberAddition
Adds two specified TimeSpan instances.
Public operatorStatic memberEquality
Indicates whether two TimeSpan instances are equal.
Public operatorStatic memberGreaterThan
Indicates whether a specified TimeSpan is greater than another specified TimeSpan.
Public operatorStatic memberGreaterThanOrEqual
Indicates whether a specified TimeSpan is greater than or equal to another specified TimeSpan.
Public operatorStatic memberInequality
Indicates whether two TimeSpan instances are not equal.
Public operatorStatic memberLessThan
Indicates whether a specified TimeSpan is less than another specified TimeSpan.
Public operatorStatic memberLessThanOrEqual
Indicates whether a specified TimeSpan is less than or equal to another specified TimeSpan.
Public operatorStatic memberSubtraction
Subtracts a specified TimeSpan from another specified TimeSpan.
Public operatorStatic memberUnaryNegation
Returns a TimeSpan whose value is the negated value of the specified instance.
Top
See Also