StoreConfiguration.IsStoreWebAccountId(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定指定的用户 ID 是否也用于登录到设备上的 Microsoft Store。
public:
static bool IsStoreWebAccountId(Platform::String ^ webAccountId);
static bool IsStoreWebAccountId(winrt::hstring const& webAccountId);
public static bool IsStoreWebAccountId(string webAccountId);
function isStoreWebAccountId(webAccountId)
Public Shared Function IsStoreWebAccountId (webAccountId As String) As Boolean
参数
- webAccountId
-
String
Platform::String
winrt::hstring
用户 ID 通常 (从 WebAccount.Id 属性) 获取到 检查。
返回
Boolean
bool
如此 如果 由 webAccountId 指定的用户帐户是登录到 Microsoft Store 的同一帐户;否则为 false。