次の方法で共有


ContactStore.FindContactByIdAsync(String) メソッド

定義

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

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

パラメーター

id
String

Platform::String

winrt::hstring

取得する連絡先の ID。

戻り値

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

Windows の要件

アプリの機能
ID_CAP_CONTACTS [Windows Phone]

適用対象

こちらもご覧ください