Share via


ContactStore.FindContactByRemoteIdAsync(String) メソッド

定義

指定したリモート ID を持つ連絡先を連絡先ストアから取得します。

public:
 virtual IAsyncOperation<StoredContact ^> ^ FindContactByRemoteIdAsync(Platform::String ^ id) = FindContactByRemoteIdAsync;
IAsyncOperation<StoredContact> FindContactByRemoteIdAsync(winrt::hstring const& id);
public IAsyncOperation<StoredContact> FindContactByRemoteIdAsync(string id);
function findContactByRemoteIdAsync(id)
Public Function FindContactByRemoteIdAsync (id As String) As IAsyncOperation(Of StoredContact)

パラメーター

id
String

Platform::String

winrt::hstring

取得する連絡先のアプリケーション定義リモート ID。

戻り値

このメソッドが完了すると、 StoredContact オブジェクトが返されます。 非同期プログラミングを使用する場合、結果の種類は StoredContact になります

Windows の要件

アプリの機能
ID_CAP_CONTACTS [Windows Phone]

適用対象

こちらもご覧ください