Windows Dev Center

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 Constructor

Initializes a new instance of the TimeSpan structure.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Supported by the XNA Framework Supported by Portable Class Library TimeSpan(Int64) Initializes a new instance of the TimeSpan structure to the specified number of ticks.
Public method Supported by the XNA Framework Supported by Portable Class Library TimeSpan(Int32, Int32, Int32) Initializes a new instance of the TimeSpan structure to a specified number of hours, minutes, and seconds.
Public method Supported by the XNA Framework Supported by Portable Class Library TimeSpan(Int32, Int32, Int32, Int32) Initializes a new instance of the TimeSpan structure to a specified number of days, hours, minutes, and seconds.
Public method Supported by the XNA Framework Supported by Portable Class Library TimeSpan(Int32, Int32, Int32, Int32, Int32) Initializes a new instance of the TimeSpan structure to a specified number of days, hours, minutes, seconds, and milliseconds.
Top
Show:
© 2015 Microsoft