Share via


HumanPresenceSettings.LockOnLeaveDistanceInMillimeters Property

Definition

Gets or sets the distance a user must be from the human presence sensor for the PC to be considered unattended and automatically lock.

public:
 property IReference<unsigned int> ^ LockOnLeaveDistanceInMillimeters { IReference<unsigned int> ^ get(); void set(IReference<unsigned int> ^ value); };
IReference<uint32_t> LockOnLeaveDistanceInMillimeters();

void LockOnLeaveDistanceInMillimeters(IReference<uint32_t> value);
public System.Nullable<uint> LockOnLeaveDistanceInMillimeters { get; set; }
var iReference = humanPresenceSettings.lockOnLeaveDistanceInMillimeters;
humanPresenceSettings.lockOnLeaveDistanceInMillimeters = iReference;
Public Property LockOnLeaveDistanceInMillimeters As Nullable(Of UInteger)

Property Value

IReference<UInt32>

Nullable<UInt32>

Windows.Foundation.IReference<unsigned int>

IReference<uint32_t>

The distance a user must be from the human presence sensor for the PC to be considered unattended and automatically lock.

Applies to

See also