TimeSpan Constructor

 

Initializes a new instance of the TimeSpan structure.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodTimeSpan(Int32, Int32, Int32)

Initializes a new instance of the TimeSpan structure to a specified number of hours, minutes, and seconds.

System_CAPS_pubmethodTimeSpan(Int32, Int32, Int32, Int32)

Initializes a new instance of the TimeSpan structure to a specified number of days, hours, minutes, and seconds.

System_CAPS_pubmethodTimeSpan(Int32, Int32, Int32, Int32, Int32)

Initializes a new instance of the TimeSpan structure to a specified number of days, hours, minutes, seconds, and milliseconds.

System_CAPS_pubmethodTimeSpan(Int64)

Initializes a new instance of the TimeSpan structure to the specified number of ticks.

Return to top
Show: