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 字符串。

返回

返回由 id 参数标识的 UserDataAccount

属性

适用于