This documentation is archived and is not being maintained.

TimeSpan Constructor

Initializes a new TimeSpan.

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

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework TimeSpan(Int64) Initializes a new TimeSpan to the specified number of ticks.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework TimeSpan(Int32, Int32, Int32) Initializes a new TimeSpan to a specified number of hours, minutes, and seconds.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework TimeSpan(Int32, Int32, Int32, Int32) Initializes a new TimeSpan to a specified number of days, hours, minutes, and seconds.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework TimeSpan(Int32, Int32, Int32, Int32, Int32) Initializes a new TimeSpan to a specified number of days, hours, minutes, seconds, and milliseconds.
Top
Show: