共用方式為


ProximitySensorReading.DistanceInMillimeters 屬性

定義

取得距離從鄰近感應器到偵測到的物件。

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

屬性值

IReference<UInt32>

Nullable<UInt32>

Windows.Foundation.IReference<unsigned int>

IReference<uint32_t>

感應器與物件之間的距離,以公釐為單位。

適用於