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

返回一个**inspector** 对象, 该对象代表初始化以包含指定项目的检查器。Returns an Inspector object that represents an inspector initialized to contain the specified item. 此为只读属性。Read-only.


expressionexpression. GetInspector

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


此属性可用于返回要在其中显示项的Inspector对象, 而不是使用**ActiveInspector** 方法和设置**CurrentItem** 属性。This property is useful for returning an Inspector object in which to display the item, as opposed to using the Application.ActiveInspector method and setting the Inspector.CurrentItem property. 如果 检查器 对象已存在的项, GetInspector 属性将返回而不是创建一个新的 检查器 对象。If an Inspector object already exists for the item, the GetInspector property will return that Inspector object instead of creating a new one.

另请参阅See also

创建 ContactItem 对象ContactItem Object

支持和反馈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.