TimeProvider.GetTimestamp Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.