Duration Methods |
The Duration type exposes the following members.
| Name | Description | |
|---|---|---|
| FromHours |
Returns a duration that represents the specified number of hours.
| |
| FromMicroseconds |
Returns a duration that represents the specified number of microseconds.
| |
| FromMilliseconds |
Returns a duration that represents the specified number of milliseconds.
| |
| FromMinutes |
Returns a duration that represents the specified number of minutes.
| |
| FromNanoseconds |
Returns a duration that represents the specified number of nanoseconds.
| |
| FromSeconds |
Returns a duration that represents the specified number of seconds.
| |
| FromTicks |
Returns a duration that represents the specified number of ticks.
| |
| FromTimeSpan |
Returns a duration that represents the specified time span.
|