اقرأ باللغة الإنجليزية تحرير

مشاركة عبر


TimeProvider.GetTimestamp Method

Definition

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

C#
public virtual long GetTimestamp();

Returns

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

Remarks

The default implementation returns GetTimestamp().

Applies to

منتج الإصدارات
.NET 8, 9, 10
.NET Standard 2.0 (package-provided)