TimeSpan Properties

The TimeSpan type exposes the following members.

  Name Description
Public property Supported by the XNA Framework Supported by Portable Class Library Days Gets the days component of the time interval represented by the current TimeSpan structure.
Public property Supported by the XNA Framework Supported by Portable Class Library Hours Gets the hours component of the time interval represented by the current TimeSpan structure.
Public property Supported by the XNA Framework Supported by Portable Class Library Milliseconds Gets the milliseconds component of the time interval represented by the current TimeSpan structure.
Public property Supported by the XNA Framework Supported by Portable Class Library Minutes Gets the minutes component of the time interval represented by the current TimeSpan structure.
Public property Supported by the XNA Framework Supported by Portable Class Library Seconds Gets the seconds component of the time interval represented by the current TimeSpan structure.
Public property Supported by the XNA Framework Supported by Portable Class Library Ticks Gets the number of ticks that represent the value of the current TimeSpan structure.
Public property Supported by the XNA Framework Supported by Portable Class Library TotalDays Gets the value of the current TimeSpan structure expressed in whole and fractional days.
Public property Supported by the XNA Framework Supported by Portable Class Library TotalHours Gets the value of the current TimeSpan structure expressed in whole and fractional hours.
Public property Supported by the XNA Framework Supported by Portable Class Library TotalMilliseconds Gets the value of the current TimeSpan structure expressed in whole and fractional milliseconds.
Public property Supported by the XNA Framework Supported by Portable Class Library TotalMinutes Gets the value of the current TimeSpan structure expressed in whole and fractional minutes.
Public property Supported by the XNA Framework Supported by Portable Class Library TotalSeconds Gets the value of the current TimeSpan structure expressed in whole and fractional seconds.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft