ContactStore.FindContactByRemoteIdAsync(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 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
Platform::String
winrt::hstring
The application-defined remote 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]
|