Dela via


ProximitySensorReading.DistanceInMillimeters Property

Definition

Gets the distance from the proximity sensor to the detected object.

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)

Property Value

IReference<UInt32>

Nullable<UInt32>

Windows.Foundation.IReference<unsigned int>

IReference<uint32_t>

The distance between the sensor and the object in millimeters.

Applies to