UserDataAccountStore.GetAccountAsync(String) 方法

定義

以非同步方式取得指定的帳號。

public:
 virtual IAsyncOperation<UserDataAccount ^> ^ GetAccountAsync(Platform::String ^ id) = GetAccountAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<UserDataAccount> GetAccountAsync(winrt::hstring const& id);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<UserDataAccount> GetAccountAsync(string id);
function getAccountAsync(id)
Public Function GetAccountAsync (id As String) As IAsyncOperation(Of UserDataAccount)

參數

id
String

Platform::String

winrt::hstring

識別帳戶的 識別碼 字串。

傳回

傳回id 參數所識別的UserDataAccount

屬性

適用於