StoreConfiguration.HasStoreWebAccount 方法

定义

确定当前用户是否具有 Microsoft Store 帐户。

public:
 static bool HasStoreWebAccount();
 static bool HasStoreWebAccount();
public static bool HasStoreWebAccount();
function hasStoreWebAccount()
Public Shared Function HasStoreWebAccount () As Boolean

返回

Boolean

bool

如果当前用户具有 Microsoft Store 帐户,则为 True;否则为 false。

Windows 要求

设备系列
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v3.0 中引入)

适用于