Edit

Share via


_SelectNamesDialog.Recipients Property

Definition

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.

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

Property Value

Remarks

This property specifies a Recipients collection object that has a 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.

Applies to