Edit

Share via


_SelectNamesDialog.NumberOfRecipientSelectors Property

Definition

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.

public:
 property Microsoft::Office::Interop::Outlook::OlRecipientSelectors NumberOfRecipientSelectors { Microsoft::Office::Interop::Outlook::OlRecipientSelectors get(); void set(Microsoft::Office::Interop::Outlook::OlRecipientSelectors value); };
public Microsoft.Office.Interop.Outlook.OlRecipientSelectors NumberOfRecipientSelectors { get; set; }
Public Property NumberOfRecipientSelectors As OlRecipientSelectors

Property Value

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 CcLabel or BccLabel, the NumberOfRecipientSelectors will remain unchanged.

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

Applies to