Export (0) Print
Expand All

Duration Methods

The Duration type exposes the following members.

  Name Description
Public method Add Adds the value of the specified instance of Duration to the value of the current instance.
Public method Static member Compare Compares one Duration value to another.
Public method Equals(Duration) Determines whether a specified Duration is equal to this instance of Duration.
Public method Equals(Object) Determines whether a specified object is equal to an instance of Duration. (Overrides ValueType.Equals(Object).)
Public method Static member Equals(Duration, Duration) Determines whether two instances of Duration are equal.
Public method GetHashCode Gets a hash code for this instance. (Overrides ValueType.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Static member Plus Returns the specified instance of Duration.
Public method Subtract Subtracts the value of the specified instance of Duration from this instance.
Public method ToString Converts an instance of Duration to a String representation. (Overrides ValueType.ToString().)
Top
Show:
© 2014 Microsoft