Share via


Ticks Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the number of ticks that represent the value of the current TimeSpan structure.

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

Syntax

'Declaration
Public ReadOnly Property Ticks As Long
public long Ticks { get; }
public:
property long long Ticks {
    long long get ();
}
member Ticks : int64 with get
function get Ticks () : long

Property Value

Type: System. . :: . .Int64
The number of ticks contained in this instance.

Remarks

The smallest unit of time is the tick, which is equal to 100 nanoseconds. A tick can be negative or positive.

.NET Framework Security

See Also

Reference

TimeSpan Structure

System Namespace