ContactStore.FindContactByIdAsync(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the contact with the specified ID from the contact store.
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)
Parameters
- id
-
String
Platform::String
winrt::hstring
The ID of the contact to retrieve.
Returns
When this method completes, it returns a StoredContact object. If you use Asynchronous programming, the result type is StoredContact.
Windows requirements
App capabilities |
ID_CAP_CONTACTS [Windows Phone]
|