StoreConfiguration.SetStoreWebAccountIdForUser(User, String) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Imposta l'ID dell'account utente dello Store per l'utente specificato in modo che altre app possano eseguire query su questo ID.
public:
static void SetStoreWebAccountIdForUser(User ^ user, Platform::String ^ webAccountId);
static void SetStoreWebAccountIdForUser(User const& user, winrt::hstring const& webAccountId);
public static void SetStoreWebAccountIdForUser(User user, string webAccountId);
function setStoreWebAccountIdForUser(user, webAccountId)
Public Shared Sub SetStoreWebAccountIdForUser (user As User, webAccountId As String)
Parametri
- user
- User
Oggetto Windows.System.User che identifica l'utente il cui ID account utente dello Store da impostare.
- webAccountId
-
String
Platform::String
winrt::hstring
ID account utente dello Store (in genere ottenuto dalla proprietà WebAccount.Id ) da impostare per l'utente specificato.
Requisiti Windows
Famiglia di dispositivi |
Windows 10 Anniversary Edition (è stato introdotto in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (è stato introdotto in v3.0)
|