System.TimeSpan: Constructor Members

The constructors of System.TimeSpan are listed below. For a list of all members, see the TimeSpan Members list.

See Also: Inherited members from System.ValueType

Public Constructors

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

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

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

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