StoreConfiguration.SetStoreWebAccountId(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定目前登入市集使用者的市集使用者帳戶識別碼,讓其他應用程式可以查詢此識別碼。
public:
static void SetStoreWebAccountId(Platform::String ^ webAccountId);
static void SetStoreWebAccountId(winrt::hstring const& webAccountId);
public static void SetStoreWebAccountId(string webAccountId);
function setStoreWebAccountId(webAccountId)
Public Shared Sub SetStoreWebAccountId (webAccountId As String)
參數
- webAccountId
-
String
Platform::String
winrt::hstring
市集使用者帳戶識別碼 (通常是從 WebAccount.Id 屬性取得,) 為目前登入市集的使用者設定。