ContactStore.FindContactByIdAsync(String) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した 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]
|