ContactList.GetContactAsync(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.
Asynchronously retrieves the specified Contact object from the ContactList.
public:
virtual IAsyncOperation<Contact ^> ^ GetContactAsync(Platform::String ^ contactId) = GetContactAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<Contact> GetContactAsync(winrt::hstring const& contactId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<Contact> GetContactAsync(string contactId);
function getContactAsync(contactId)
Public Function GetContactAsync (contactId As String) As IAsyncOperation(Of Contact)
Parameters
Returns
The Contact identified by the contactId parameter.
- Attributes
Windows requirements
App capabilities |
contactsSystem
|