_SelectNamesDialog.Recipients Property
Returns a Recipients collection object that represents the recipients selected in the Select Names dialog, or sets a Recipients collection object that represents the initial recipients to be 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 Recipients As Recipients
Get
Set
'Usage
Dim instance As _SelectNamesDialog
Dim value As Recipients
value = instance.Recipients
instance.Recipients = value
[DispIdAttribute()]
Recipients Recipients { get; set; }
Property Value
Type: Microsoft.Office.Interop.Outlook.Recipients
Remarks
This property specifies a Recipients collection object that has a Recipients.Count equal to the total number of recipients in the To, Cc, and Bcc edit boxes.
If you do not set this property before displaying the Select Names dialog box, then the Recipients object represented by SelectNamesDialog.Recipients will have a Recipients.Count equal to zero.
If the user does not select any names from the Select Names dialog box and clicks OK, SelectNamesDialog.Recipients will return a Recipients collection object with Recipients.Count equal to zero.
See Also
Reference
Microsoft.Office.Interop.Outlook Namespace
Other Resources
How to: Display the Select Names Dialog Box to Resolve Recipients
How to: Use the Select Names Dialog Box to Obtain and Assign Recipients to an Appointment