ContactItem 属性 (Outlook)ContactItem.MessageClass property (Outlook)

返回或设置一个字符串, 表示 Outlook 项目的邮件类。Returns or sets a String representing the message class for the Outlook item. 读/写。Read/write.

语法Syntax

expressionexpression. MessageClass

_表达式_一个代表ContactItem对象的变量。expression A variable that represents a ContactItem object.

说明Remarks

此属性对应于 MAPI 属性PidTagMessageClassThis property corresponds to the MAPI property PidTagMessageClass. 邮件类 属性链接到窗体所基于的项目。The MessageClass property links the item to the form on which it is based. 当选中某一项时,Outlook 将使用的邮件类来定位该窗体,并列出其属性,如 答复命令。When an item is selected, Outlook uses the message class to locate the form and expose its properties, such as Reply commands.

另请参阅See also

创建 ContactItem 对象ContactItem Object

项目类型和邮件类Item Types and Message Classes

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.