Freigeben über


StoreConfiguration.SetStoreWebAccountId(String) Methode

Definition

Legt die Store-Benutzerkonto-ID für den aktuellen Benutzer fest, der beim Store angemeldet ist, damit andere Apps diese ID abfragen können.

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)

Parameter

webAccountId
String

Platform::String

winrt::hstring

Die Store-Benutzerkonto-ID (in der Regel von der WebAccount.Id-Eigenschaft abgerufen), die für den Benutzer festgelegt werden soll, der derzeit beim Store angemeldet ist.

Gilt für: