BarometerReading.PerformanceCount 属性

定义

获取与读取关联的性能计数。 这允许读取与系统上的其他设备和进程同步。

public:
 property IReference<TimeSpan> ^ PerformanceCount { IReference<TimeSpan> ^ get(); };
IReference<TimeSpan> PerformanceCount();
public System.Nullable<System.TimeSpan> PerformanceCount { get; }
var iReference = barometerReading.performanceCount;
Public ReadOnly Property PerformanceCount As Nullable(Of TimeSpan)

属性值

读取的性能计数。 如果传感器不支持此属性,则为 Null。

Windows 要求

设备系列
Windows 10 Fall Creators Update (在 10.0.16299.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v5.0 中引入)

适用于