ContactPicker.PickSingleContactAsync 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.
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.