TimeSpan Constructor (Int64)
.NET Framework (current version)
Initializes a new instance of the TimeSpan structure to the specified number of ticks.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- ticks
-
Type:
System.Int64
A time period expressed in 100-nanosecond units.
A single tick represents one hundred nanoseconds or one ten-millionth of a second. There are 10,000 ticks in a millisecond.
Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Show: