共用方式為


SelectNamesDialog.Recipients Property (Outlook)

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.

Version Information

Version Added: Outlook 2007

Syntax

expression .Recipients

expression A variable that represents a SelectNamesDialog object.

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

Concepts

SelectNamesDialog Object Members

SelectNamesDialog Object