Skip to main content

Windows Dev Center

ContactPickerUI.SelectionMode | selectionMode property

Determines the selection mode for the contact picker. The most common options are PickSingleContactAsync or PickMultipleContactsAsync.

Syntax


var selectionMode = contactPickerUI.selectionMode;

public ContactSelectionMode SelectionMode { get; }

Public ReadOnly Property SelectionMode As ContactSelectionMode

public:
property ContactSelectionMode SelectionMode { 
   ContactSelectionMode get();
}

Property value

Type: ContactSelectionMode

Specifies the selection mode that you want to use.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.ApplicationModel.Contacts.Provider
Windows::ApplicationModel::Contacts::Provider [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.ApplicationModel.Contacts.Provider
Windows::ApplicationModel::Contacts::Provider [C++]

Metadata

Windows.winmd

See also

ContactPickerUI