LockOnLeaveOptions クラス

定義

ユーザーが人間のプレゼンス センサーによって検出されたかどうかに基づいて、PC 画面のロック動作を管理する機能を提供します。

public ref class LockOnLeaveOptions sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 983040)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class LockOnLeaveOptions final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 983040)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class LockOnLeaveOptions
Public NotInheritable Class LockOnLeaveOptions
継承
Object Platform::Object IInspectable LockOnLeaveOptions
属性

Windows の要件

デバイス ファミリ
Windows 11 Insider Preview (10.0.23504.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v15.0 で導入)

注釈

Windows 11 バージョン 22H2 ビルド 22621 の May Moment 更新プログラムで導入されました。

ユーザーは、システム設定で休暇の動作に対する優先ロックを指定できます ( 「Windows 設定アプリを起動する」を参照)。

プロパティ

AllowWhenExternalDisplayConnected

外部モニターがシステムに接続されているときに、休暇動作のロックを有効にするかどうかを取得または設定します。

適用対象

こちらもご覧ください