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>

传感器与对象之间的距离(以毫米为单位)。

适用于