共用方式為


HumanPresenceSettings.GetSupportedLockOnLeaveTimeouts 方法

定義

從系統設定擷取 (的間隔集合,) 用來指定在使用者不再偵測到之後鎖定電腦之前應該經過多少時間。

public:
 static IVectorView<TimeSpan> ^ GetSupportedLockOnLeaveTimeouts();
 static IVectorView<TimeSpan> GetSupportedLockOnLeaveTimeouts();
public static IReadOnlyList<System.TimeSpan> GetSupportedLockOnLeaveTimeouts();
function getSupportedLockOnLeaveTimeouts()
Public Shared Function GetSupportedLockOnLeaveTimeouts () As IReadOnlyList(Of TimeSpan)

傳回

系統設定 (的間隔集合,) 用來指定在使用者不再偵測到之後鎖定電腦之前應該經過多少時間。

備註

使用 LockOnLeaveTimeout 來取得目前選取的間隔。

適用於

另請參閱