StoreConfiguration.HasStoreWebAccountForUser(User) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷指定的使用者是否有 Microsoft Store 帳戶。
public:
static bool HasStoreWebAccountForUser(User ^ user);
static bool HasStoreWebAccountForUser(User const& user);
public static bool HasStoreWebAccountForUser(User user);
function hasStoreWebAccountForUser(user)
Public Shared Function HasStoreWebAccountForUser (user As User) As Boolean
參數
- user
- User
物件,識別要查詢的使用者。
傳回
Boolean
bool
如果指定的使用者擁有 Microsoft Store 帳戶,則為 True;否則為 false。
Windows 需求
裝置系列 |
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)
|