共用方式為


HumanPresenceSettings.LockOnLeaveDistanceInMillimeters 屬性

定義

取得或設定使用者必須與人類目前狀態感應器之間的距離,電腦才會被視為自動鎖定並自動鎖定。

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)

屬性值

IReference<UInt32>

Nullable<UInt32>

Windows.Foundation.IReference

IReference<uint32_t>

使用者必須與人類目前狀態感應器之間的距離,電腦才會被視為自動鎖定並自動鎖定。

適用於

另請參閱