UserDataAccount.IsProtectedUnderLock 属性

定义

获取一个布尔值,该值指示在设备锁定时用户帐户数据是否加密。

public:
 property bool IsProtectedUnderLock { bool get(); };
public:
 property bool IsProtectedUnderLock { bool get(); void set(bool value); };
bool IsProtectedUnderLock();
bool IsProtectedUnderLock();

void IsProtectedUnderLock(bool value);
public bool IsProtectedUnderLock { get; }
public bool IsProtectedUnderLock { get; set; }
var boolean = userDataAccount.isProtectedUnderLock;
var boolean = userDataAccount.isProtectedUnderLock;
userDataAccount.isProtectedUnderLock = boolean;
Public ReadOnly Property IsProtectedUnderLock As Boolean
Public Property IsProtectedUnderLock As Boolean

属性值

Boolean

bool

一个布尔值,指示在设备锁定时用户帐户数据是否加密。

Windows 要求

设备系列
Windows 10 (在 10.0.10586.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v2.0 中引入)

注解

在锁定状态期间,加密数据将作为空值集返回。

适用于