This documentation is archived and is not being maintained.

TimeSpan Constructor

Initializes a new TimeSpan.

Name Description
TimeSpan (Int64) Initializes a new TimeSpan to the specified number of ticks.

Supported by the .NET Compact Framework.

TimeSpan (Int32, Int32, Int32) Initializes a new TimeSpan to a specified number of hours, minutes, and seconds.

Supported by the .NET Compact Framework.

TimeSpan (Int32, Int32, Int32, Int32) Initializes a new TimeSpan to a specified number of days, hours, minutes, and seconds.

Supported by the .NET Compact Framework.

TimeSpan (Int32, Int32, Int32, Int32, Int32) Initializes a new TimeSpan to a specified number of days, hours, minutes, seconds, and milliseconds.

Supported by the .NET Compact Framework.

Show: