StoreConfiguration.SetStoreWebAccountId(String) 方法

定义

为登录到应用商店的当前用户设置应用商店用户帐户 ID,以便其他应用可以针对此 ID 进行查询。

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

应用商店用户帐户 ID (通常从 WebAccount.Id 属性获取,) 为当前登录到应用商店的用户设置。

适用于