TimeSpan Operators

The TimeSpan type exposes the following members.

  NameDescription
Public operator Static member Supported by the .NET Compact Framework Supported by the XNA Framework Addition Adds two specified TimeSpan instances.
Public operator Static member Supported by the .NET Compact Framework Supported by the XNA Framework Equality Indicates whether two TimeSpan instances are equal.
Public operator Static member Supported by the .NET Compact Framework Supported by the XNA Framework GreaterThan Indicates whether a specified TimeSpan is greater than another specified TimeSpan.
Public operator Static member Supported by the .NET Compact Framework Supported by the XNA Framework GreaterThanOrEqual Indicates whether a specified TimeSpan is greater than or equal to another specified TimeSpan.
Public operator Static member Supported by the .NET Compact Framework Supported by the XNA Framework Inequality Indicates whether two TimeSpan instances are not equal.
Public operator Static member Supported by the .NET Compact Framework Supported by the XNA Framework LessThan Indicates whether a specified TimeSpan is less than another specified TimeSpan.
Public operator Static member Supported by the .NET Compact Framework Supported by the XNA Framework LessThanOrEqual Indicates whether a specified TimeSpan is less than or equal to another specified TimeSpan.
Public operator Static member Supported by the .NET Compact Framework Supported by the XNA Framework Subtraction Subtracts a specified TimeSpan from another specified TimeSpan.
Public operator Static member Supported by the .NET Compact Framework Supported by the XNA Framework 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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft