Freigeben über


UserDataAccountManager.ShowAddAccountAsync Methode

Definition

Zeigt die Benutzeroberfläche zum Hinzufügen eines Kontos an.

public:
 static IAsyncOperation<Platform::String ^> ^ ShowAddAccountAsync(UserDataAccountContentKinds contentKinds);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<winrt::hstring> ShowAddAccountAsync(UserDataAccountContentKinds const& contentKinds);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<string> ShowAddAccountAsync(UserDataAccountContentKinds contentKinds);
function showAddAccountAsync(contentKinds)
Public Shared Function ShowAddAccountAsync (contentKinds As UserDataAccountContentKinds) As IAsyncOperation(Of String)

Parameter

contentKinds
UserDataAccountContentKinds

Der Typ des Benutzerdateninhalts.

Gibt zurück

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

Gibt das neu hinzugefügte oder bereits vorhandene Konto zurück.

Attribute

Gilt für: