Click or drag to resize
TimeSpan Properties

The TimeSpan type exposes the following members.

Properties
  NameDescription
Public propertyDays
Gets the days component of the time interval represented by the current TimeSpan structure.
Public propertyHours
Gets the hours component of the time interval represented by the current TimeSpan structure.
Public propertyMilliseconds
Gets the milliseconds component of the time interval represented by the current TimeSpan structure.
Public propertyMinutes
Gets the minutes component of the time interval represented by the current TimeSpan structure.
Public propertySeconds
Gets the seconds component of the time interval represented by the current TimeSpan structure.
Public propertyTicks
Gets the number of ticks that represent the value of the current TimeSpan structure.
Public propertyTotalDays
Gets the value of the current TimeSpan structure expressed in whole and fractional days.
Public propertyTotalHours
Gets the value of the current TimeSpan structure expressed in whole and fractional hours.
Public propertyTotalMilliseconds
Gets the value of the current TimeSpan structure expressed in whole and fractional milliseconds.
Public propertyTotalMinutes
Gets the value of the current TimeSpan structure expressed in whole and fractional minutes.
Public propertyTotalSeconds
Gets the value of the current TimeSpan structure expressed in whole and fractional seconds.
Top
See Also