Click or drag to resize

Duration Methods

The Duration type exposes the following members.

Methods
  NameDescription
Public methodDispose
Destructs the Duration instance.
Public methodStatic memberFromHours
Returns a duration that represents the specified number of hours.
Public methodStatic memberFromMicroseconds
Returns a duration that represents the specified number of microseconds.
Public methodStatic memberFromMilliseconds
Returns a duration that represents the specified number of milliseconds.
Public methodStatic memberFromMinutes
Returns a duration that represents the specified number of minutes.
Public methodStatic memberFromNanoseconds
Returns a duration that represents the specified number of nanoseconds.
Public methodStatic memberFromSeconds
Returns a duration that represents the specified number of seconds.
Public methodStatic memberFromTicks
Returns a duration that represents the specified number of ticks.
Public methodStatic memberFromTimeSpan
Returns a duration that represents the specified time span.
Top
See Also