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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.