共用方式為


HumanPresenceSensorReading.DistanceInMillimeters 屬性

定義

取得 HumanPresenceSensor 與偵測到的使用者之間的距離。

public:
 property IReference<unsigned int> ^ DistanceInMillimeters { IReference<unsigned int> ^ get(); };
IReference<uint32_t> DistanceInMillimeters();
public System.Nullable<uint> DistanceInMillimeters { get; }
var iReference = humanPresenceSensorReading.distanceInMillimeters;
Public ReadOnly Property DistanceInMillimeters As Nullable(Of UInteger)

屬性值

IReference<UInt32>

Nullable<UInt32>

Windows.Foundation.IReference

IReference<uint32_t>

HumanPresenceSensor與偵測到的使用者之間的距離。

適用於