言語

UserPresenceStatus 列挙型

定義

アプリのセッションに関連付けられているユーザーの状態を表す値を定義します。

public enum class UserPresenceStatus
/// [Windows.Foundation.Metadata.Version(1)]
enum class UserPresenceStatus
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.System.Power.PowerNotificationsContract, 65536)]
enum class UserPresenceStatus
[Windows.Foundation.Metadata.Version(1)]
public enum UserPresenceStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.System.Power.PowerNotificationsContract), 65536)]
public enum UserPresenceStatus
var value = Microsoft.Windows.System.Power.UserPresenceStatus.present
Public Enum UserPresenceStatus
継承
UserPresenceStatus
属性

フィールド

名前 説明
Present 0

ユーザーが存在します。

Absent 1

ユーザーは存在しません。

注釈

この列挙型は、 GUID_SESSION_USER_PRESENCE電源設定 GUID に対応します。

適用対象

こちらもご覧ください