StoreConfiguration.GetStoreWebAccountIdForUser(User) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得已登入市集之指定使用者的市集使用者帳戶識別碼。
public:
static Platform::String ^ GetStoreWebAccountIdForUser(User ^ user);
static winrt::hstring GetStoreWebAccountIdForUser(User const& user);
public static string GetStoreWebAccountIdForUser(User user);
function getStoreWebAccountIdForUser(user)
Public Shared Function GetStoreWebAccountIdForUser (user As User) As String
參數
- user
- User
Windows.System.User物件,識別您要擷取市集使用者帳戶識別碼的使用者。
傳回
指定使用者的 Store 使用者帳戶識別碼。
Windows 需求
裝置系列 |
Windows 10 Creators Update (已於 10.0.15063.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)
|