_SelectNamesDialog.Recipients 属性

定义

返回一个 Recipients 集合对象,该对象代表在“选择姓名”对话框中选择的收件人,或设置一个 Recipients 集合对象,该对象代表将在“选择姓名”对话框中显示的初始收件人。 读/写。

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

属性值

注解

此属性 指定收件人集合 对象,该 Count 对象与收件人、抄送和密件抄送编辑框中的收件人总数相等。

如果不设置此属性时,才显示 选择姓名对话框中,由 SelectNamesDialog.Recipients收件人 对象将具有 Recipients.Count 等于零。

如果用户未从“选择姓名”对话框中选择任何名称并单击“确定”, SelectNamesDialog.Recipients 将返回 Recipients 集合对象,其 Recipients.Count 等于零。

适用于