Freigeben über


StoreConfiguration.IsStoreWebAccountId(String) Methode

Definition

Bestimmt, ob die angegebene Benutzer-ID auch für die Anmeldung beim Microsoft Store auf dem Gerät verwendet wird.

public:
 static bool IsStoreWebAccountId(Platform::String ^ webAccountId);
 static bool IsStoreWebAccountId(winrt::hstring const& webAccountId);
public static bool IsStoreWebAccountId(string webAccountId);
function isStoreWebAccountId(webAccountId)
Public Shared Function IsStoreWebAccountId (webAccountId As String) As Boolean

Parameter

webAccountId
String

Platform::String

winrt::hstring

Die zu überprüfende Benutzer-ID (in der Regel von der WebAccount.Id-Eigenschaft abgerufen).

Gibt zurück

Boolean

bool

True, wenn das von webAccountId angegebene Benutzerkonto dasselbe Konto ist, das beim Microsoft Store angemeldet ist; andernfalls false.

Gilt für: