次の方法で共有


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
属性

フィールド

Absent 1

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

Present 0

ユーザーが存在します。

注釈

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

適用対象

こちらもご覧ください