Duration Methods
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The Duration type exposes the following members.
| Name | Description | |
|---|---|---|
|
Add | Adds the value of the specified Duration to this Duration. |
|
Compare | Compares one Duration value to another. |
|
Equals(Duration) | Determines whether a specified Duration is equal to this Duration. |
|
Equals(Object) | Determines whether a specified object is equal to a Duration. (Overrides ValueType.Equals(Object).) |
|
Equals(Duration, Duration) | Determines whether two Duration values are equal. |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Gets a hash code for this object. (Overrides ValueType.GetHashCode().) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Plus | Adds one Duration to this Duration. |
|
Subtract | Subtracts the specified Duration from this Duration. |
|
ToString | Converts a Duration to a String representation. (Overrides ValueType.ToString().) |
Show: