Compartir a través de


TimeSpan Constructor (Int64)

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

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

public TimeSpan (
         longticks
)

Parameters

  • ticks
    A specific time period expressed in 100-nanosecond units, or ticks.

Version Information

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

See Also

Reference

TimeSpan Structure
TimeSpan Members
System Namespace