|
| Name | Description |
|---|
.gif) .gif) .gif) | Add | Adds the specified TimeSpan to this instance. |
.gif) .gif) .gif) .gif) | Compare | Compares two TimeSpan values and returns an integer that indicates whether the first value is shorter than, equal to, or longer than the second value. |
.gif) .gif) .gif) | CompareTo | Overloaded. Compares this instance to a specified object or TimeSpan object and returns an integer that indicates whether this instance is shorter than, equal to, or longer than the specified object or TimeSpan object. |
.gif) .gif) .gif) | Duration | Returns a new TimeSpan object whose value is the absolute value of the current TimeSpan object. |
.gif) .gif) .gif) .gif) | Equals | Overloaded. Returns a value indicating whether two instances of TimeSpan are equal. |
.gif) .gif) .gif) | Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
.gif) .gif) .gif) .gif) | FromDays | Returns a TimeSpan that represents a specified number of days, where the specification is accurate to the nearest millisecond. |
.gif) .gif) .gif) .gif) | FromHours | Returns a TimeSpan that represents a specified number of hours, where the specification is accurate to the nearest millisecond. |
.gif) .gif) .gif) .gif) | FromMilliseconds | Returns a TimeSpan that represents a specified number of milliseconds. |
.gif) .gif) .gif) .gif) | FromMinutes | Returns a TimeSpan that represents a specified number of minutes, where the specification is accurate to the nearest millisecond. |
.gif) .gif) .gif) .gif) | FromSeconds | Returns a TimeSpan that represents a specified number of seconds, where the specification is accurate to the nearest millisecond. |
.gif) .gif) .gif) .gif) | FromTicks | Returns a TimeSpan that represents a specified time, where the specification is in units of ticks. |
.gif) .gif) .gif) | GetHashCode | Returns a hash code for this instance. (Overrides ValueType..::.GetHashCode()()().) |
.gif) .gif) .gif) | GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
.gif) .gif) .gif) | MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
.gif) .gif) .gif) | Negate | Returns a TimeSpan whose value is the negated value of this instance. |
.gif) .gif) .gif) .gif) | Parse | Constructs a new TimeSpan object from a time interval specified in a string. |
.gif) .gif) .gif) | Subtract | Subtracts the specified TimeSpan from this instance. |
.gif) .gif) .gif) | ToString | Returns the string representation of the value of this instance. (Overrides ValueType..::.ToString()()().) |
.gif) .gif) | TryParse | Constructs a new TimeSpan object from a time interval specified in a string. Parameters specify the time interval and the variable where the new TimeSpan object is returned. |