Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TimeSpan Properties

The TimeSpan type exposes the following members.

  Name Description
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 Days Gets the days component of the time interval represented by the current TimeSpan structure.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 Hours Gets the hour component of the time interval represented by the current TimeSpan structure.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 Milliseconds Gets the millisecond component of the time interval represented by the current TimeSpan structure.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 Minutes Gets the minute component of the time interval represented by the current TimeSpan structure.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 Seconds Gets the second component of the time interval represented by the current TimeSpan structure.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 Ticks Gets the number of ticks that represents the value of the current TimeSpan structure.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 TotalDays Gets the value of the current TimeSpan structure expressed in whole and fractional days.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 TotalHours Gets the value of the current TimeSpan structure expressed in whole and fractional hours.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 TotalMilliseconds Gets the value of the current TimeSpan structure expressed in whole and fractional milliseconds.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 TotalMinutes Gets the value of the current TimeSpan structure expressed in whole and fractional minutes.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 TotalSeconds Gets the value of the current TimeSpan structure expressed in whole and fractional seconds.
Top

Community Additions

Show:
© 2017 Microsoft