TimeSpan Constructor
.NET Framework (current version)
Initializes a new instance of the TimeSpan structure.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | TimeSpan(Int32, Int32, Int32) | Initializes a new instance of the TimeSpan structure to a specified number of hours, minutes, and seconds. |
![]() | TimeSpan(Int32, Int32, Int32, Int32) | Initializes a new instance of the TimeSpan structure to a specified number of days, hours, minutes, and seconds. |
![]() | TimeSpan(Int32, Int32, Int32, Int32, Int32) | Initializes a new instance of the TimeSpan structure to a specified number of days, hours, minutes, seconds, and milliseconds. |
![]() | TimeSpan(Int64) | Initializes a new instance of the TimeSpan structure to the specified number of ticks. |
Show:
