UserDataAccountManager.ShowAddAccountAsync 方法

定义

显示添加帐户 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)

参数

contentKinds
UserDataAccountContentKinds

用户数据内容的类型。

返回

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

返回新添加或已存在的帐户。

属性

适用于