ContactPicker.PickSingleContactAsync Method

Definition

Launches the Contact Picker for selecting a single contact.

Note

This method is no longer available starting with Windows 10.

public:
 virtual IAsyncOperation<ContactInformation ^> ^ PickSingleContactAsync() = PickSingleContactAsync;
IAsyncOperation<ContactInformation> PickSingleContactAsync();
public IAsyncOperation<ContactInformation> PickSingleContactAsync();
function pickSingleContactAsync()
Public Function PickSingleContactAsync () As IAsyncOperation(Of ContactInformation)

Returns

The operation that launches the Contact Picker.

Windows requirements

App capabilities
contactsSystem

Remarks

To pick multiple contacts at once, use PickMultipleContactsAsync.

Use the SelectionMode property to control whether your app receives all of a contact's information, or just specific fields.

Applies to

See also