Rediger

Del via


TimeProvider.GetTimestamp Method

Definition

Gets the current high-frequency value designed to measure small time intervals with high accuracy in the timer mechanism.

public:
 virtual long GetTimestamp();
public virtual long GetTimestamp ();
abstract member GetTimestamp : unit -> int64
override this.GetTimestamp : unit -> int64
Public Overridable Function GetTimestamp () As Long

Returns

A long integer representing the high-frequency counter value of the underlying timer mechanism.

Remarks

The default implementation returns GetTimestamp().

Applies to