TimeSpan Constructor

Initializes a new instance of the TimeSpan structure.

Overload List

Name Description
TimeSpan (Int32, Int32, Int32) Initializes a new instance of the TimeSpan structure and sets it to the specified number of hours, minutes, and seconds.
TimeSpan (Int32, Int32, Int32, Int32) Initializes a new instance of the TimeSpan structure and sets it to the specified number of days, hours, minutes, and seconds.
TimeSpan (Int32, Int32, Int32, Int32, Int32) Initializes a new instance of the TimeSpan structure and sets it to the specified number of days, hours, minutes, seconds, and milliseconds.
TimeSpan (Int64) Initializes a new instance of the TimeSpan structure and sets it to the specified number of ticks.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

TimeSpan Structure
TimeSpan Members
System Namespace