ContactStore.FindContactByRemoteIdAsync(String) Method

Definition

Retrieves the contact with the specified remote ID from the contact store.

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)

Parameters

id
String

The application-defined remote ID of the contact to retrieve.

Returns

IAsyncOperation<StoredContact>

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]

Applies to

See also