Dela via


CompassReading.PerformanceCount Property

Definition

Gets the performance count associated with the reading. This allows the reading to be synchronized with other devices and processes on the system.

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

Property Value

The performance count for the reading. Null if this property is not supported on the sensor.

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Applies to