Duration Methods
.NET Framework 4.5
The Duration type exposes the following members.
| Name | Description | |
|---|---|---|
|
Add | Adds the value of the specified instance of Duration to the value of the current instance. |
|
Compare | Compares one Duration value to another. |
|
Equals(Duration) | Determines whether a specified Duration is equal to this instance of Duration. |
|
Equals(Object) | Determines whether a specified object is equal to an instance of Duration. (Overrides ValueType.Equals(Object).) |
|
Equals(Duration, Duration) | Determines whether two instances of Duration are equal. |
|
GetHashCode | Gets a hash code for this instance. (Overrides ValueType.GetHashCode().) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
Plus | Returns the specified instance of Duration. |
|
Subtract | Subtracts the value of the specified instance of Duration from this instance. |
|
ToString | Converts an instance of Duration to a String representation. (Overrides ValueType.ToString().) |