Dela via


UserDataAccountManager.ShowAddAccountAsync Method

Definition

Shows the add account UI.

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)

Parameters

contentKinds
UserDataAccountContentKinds

The type of user data content.

Returns

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

Returns the newly added or already existing account.

Attributes

Applies to