StoreConfiguration.SetStoreWebAccountId(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为登录到应用商店的当前用户设置应用商店用户帐户 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 属性获取,) 为当前登录到应用商店的用户设置。