_SelectNamesDialog.NumberOfRecipientSelectors Property
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.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<DispIdAttribute()> _
Property NumberOfRecipientSelectors As OlRecipientSelectors
Get
Set
'Usage
Dim instance As _SelectNamesDialog
Dim value As OlRecipientSelectors
value = instance.NumberOfRecipientSelectors
instance.NumberOfRecipientSelectors = value
[DispIdAttribute()]
OlRecipientSelectors NumberOfRecipientSelectors { get; set; }
Property Value
Type: Microsoft.Office.Interop.Outlook.OlRecipientSelectors
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
Reference
Microsoft.Office.Interop.Outlook Namespace
Other Resources
How to: Get Members of an Exchange Distribution List
How to: Display the Select Names Dialog Box to Resolve Recipients