Partager via


SelectNamesDialog.NumberOfRecipientSelectors Property (Outlook)

Returns or sets a OlRecipientSelectors constant that determines the number of recipient edit boxes (each associated with a command button) displayed in the Select Names dialog box. Read/write.

Version Information

Version Added: Outlook 2007

Syntax

expression .NumberOfRecipientSelectors

expression A variable that represents a SelectNamesDialog object.

Remarks

A recipient edit box allows you to enter recipient names. Each recipient edit box is associated with a command button in the Select Names dialog box; examples of a command button for a recipient edit box are the To and Cc command buttons. The default value of NumberOfRecipientSelectors is OlRecipientSelectors.olToCcBcc.

If you set NumberOfRecipientSelectors to OlRecipientSelectors.olShowTo and then subsequently set the text for SelectNamesDialog.CcLabel or SelectNamesDialog.BccLabel, the NumberOfRecipientSelectors will remain unchanged.

If you set NumberOfRecipientSelectors to OlRecipientSelectors.olShowNone, then the SelectNamesDialog.AllowMultipleSelection property will be ignored.

See Also

Concepts

SelectNamesDialog Object

SelectNamesDialog Object Members