ContactStore.GetContactAsync(String) ContactStore.GetContactAsync(String) ContactStore.GetContactAsync(String) ContactStore.GetContactAsync(String) ContactStore.GetContactAsync(String) Method

Definition

Retrieves a Contact object representing the contact with the specified Id value.

public : IAsyncOperation<Contact> GetContactAsync(Platform::String contactId)
IAsyncOperation<Contact> GetContactAsync(winrt::hstring contactId) const;
public IAsyncOperation<Contact> GetContactAsync(String contactId)
Public Function GetContactAsync(contactId As String) As IAsyncOperation(Of Contact)
Windows.ApplicationModel.Contacts.ContactStore.getContactAsync(contactId).done( /* Your success and error handlers */ );
Parameters
contactId
String String String

The Id of the contact to be retrieved.

Returns

An asynchronous operation that returns a Contact object on successful completion. If you use Asynchronous programming, the result type is a single Contact object.

Additional features and requirements
Capabilities
contactsSystem

See Also