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.

  NameDescription
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Days Gets the days component of the time interval represented by the current TimeSpan structure.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Hours Gets the hours component of the time interval represented by the current TimeSpan structure.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Milliseconds Gets the milliseconds component of the time interval represented by the current TimeSpan structure.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Minutes Gets the minutes component of the time interval represented by the current TimeSpan structure.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Seconds Gets the seconds component of the time interval represented by the current TimeSpan structure.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Ticks Gets the number of ticks that represent the value of the current TimeSpan structure.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework TotalDays Gets the value of the current TimeSpan structure expressed in whole and fractional days.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework TotalHours Gets the value of the current TimeSpan structure expressed in whole and fractional hours.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework TotalMilliseconds Gets the value of the current TimeSpan structure expressed in whole and fractional milliseconds.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework TotalMinutes Gets the value of the current TimeSpan structure expressed in whole and fractional minutes.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework TotalSeconds Gets the value of the current TimeSpan structure expressed in whole and fractional seconds.
Top

Community Additions

Show:
© 2014 Microsoft