_SelectNamesDialog.NumberOfRecipientSelectors 属性

定义

返回或设置一个 OlRecipientSelectors 常量,该常量确定 (每个与“选择姓名”对话框中显示的命令按钮关联的收件人编辑框的数量) 。 读/写。

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

属性值

注解

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.

如果将 NumberOfRecipientSelectors 设置为 OlRecipientSelectors.olShowTo ,然后为 CcLabelBccLabel设置文本, 则 NumberOfRecipientSelectors 将保持不变。

如果将 NumberOfRecipientSelectors 设置为 OlRecipientSelectors.olShowNone,则将忽略该 AllowMultipleSelection 属性。

适用于