Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TimeSpan Operators

The TimeSpan type exposes the following members.

  Name Description
Public operator Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Addition Adds two specified TimeSpan instances.
Public operator Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Equality Indicates whether two TimeSpan instances are equal.
Public operator Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 GreaterThan Indicates whether a specified TimeSpan is greater than another specified TimeSpan.
Public operator Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 GreaterThanOrEqual Indicates whether a specified TimeSpan is greater than or equal to another specified TimeSpan.
Public operator Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Inequality Indicates whether two TimeSpan instances are not equal.
Public operator Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 LessThan Indicates whether a specified TimeSpan is less than another specified TimeSpan.
Public operator Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 LessThanOrEqual Indicates whether a specified TimeSpan is less than or equal to another specified TimeSpan.
Public operator Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Subtraction Subtracts a specified TimeSpan from another specified TimeSpan.
Public operator Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 UnaryNegation Returns a TimeSpan whose value is the negated value of the specified instance.
Public operator Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 UnaryPlus Returns the specified instance of TimeSpan.
Top

Community Additions

Show:
© 2017 Microsoft