ContactItem 方法 (Outlook)ContactItem.Close method (Outlook)

关闭 Outlook 项目并根据需要保存对它所做的更改。Closes and optionally saves changes to the Outlook item.

语法Syntax

表达式关闭(SaveMode)expression.Close (SaveMode)

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

参数Parameters

名称Name 必需/可选Required/Optional 数据类型Data type 说明Description
SaveModeSaveMode 必需Required OlInspectorCloseOlInspectorClose 关闭行为。The close behavior. 如果在检查器中显示的项目尚未更改,则该参数无效。If the item displayed within the inspector has not been changed, this argument has no effect.

另请参阅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.