TimeProvider.GetTimestamp Method
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();
C#
public virtual long GetTimestamp();
abstract member GetTimestamp : unit -> int64
override this.GetTimestamp : unit -> int64
Public Overridable Function GetTimestamp () As Long
A long integer representing the high-frequency counter value of the underlying timer mechanism.
The default implementation returns GetTimestamp().
Производ | Верзије |
---|---|
.NET | 8, 9, 10 |
.NET Standard | 2.0 (package-provided) |
Сарађујте са нама на GitHub-у
Извор овог садржаја можете пронаћи на платформи GitHub, где можете и да креирате и прегледате проблеме и захтеве за повлачењем. Више информација потражите у нашем водичу за сараднике.
.NET повратне информације
.NET је пројекат отвореног кода. Изаберите везу да бисте обезбедили повратне информације: