Edytuj

Udostępnij za pośrednictwem


_SelectNamesDialog.AllowMultipleSelection Property

Definition

Returns or sets a Boolean (bool in C#) that determines whether more than one address entry can be selected at a time in the Select Names dialog. Read/write.

public:
 property bool AllowMultipleSelection { bool get(); void set(bool value); };
public bool AllowMultipleSelection { get; set; }
Public Property AllowMultipleSelection As Boolean

Property Value

Remarks

The default value of AllowMultipleSelection is True. If AllowMultipleSelection is set to True, the user can select multiple recipients by using the CTRL or SHIFT key. If AllowMultipleSelection is set to False, multiple selection is disabled.

Setting AllowMultipleSelection to False does not ensure that only one recipient can be selected. The user can type additional recipients in the edit box or select from the recipient list multiple times. To ensure that only one recipient can be selected in the dialog, set AllowMultipleSelect to False and NumberOfRecipientSelectors to olShowNone.

Applies to