StoreConfiguration.GetStoreWebAccountIdForUser(User) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取登录到应用商店的指定用户的应用商店用户帐户 ID。
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 对象,用于标识要为其检索应用商店用户帐户 ID 的用户。
返回
指定用户的应用商店用户帐户 ID。
Windows 要求
设备系列 |
Windows 10 Creators Update (在 10.0.15063.0 中引入)
|
API contract |
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)
|