共用方式為


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>

傳回新加入或已經存在的帳戶。

屬性

適用於