ContactItem 事件 (Outlook)ContactItem.Forward event (Outlook)

当用户为项目 (父对象的一个实例) 选择 "转发" 动作时发生。Occurs when the user selects the Forward action for an item (which is an instance of the parent object).

语法Syntax

expressionexpression. Forward( _Forward_ , _Cancel_ )

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

参数Parameters

名称Name 必需/可选Required/Optional 数据类型Data type 说明Description
ForwardForward 必需Required ObjectObject 正在转发的新项目。The new item being forwarded.
CancelCancel 必需Required BooleanBoolean (不使用在 VBScript 中)。(Not used in VBScript). 的事件发生时。False when the event occurs. 如果事件过程将此参数设置为 True ,则不完成转发操作并且不显示新项目。If the event procedure sets this argument to True, the forward operation is not completed and the new item is not displayed.

说明Remarks

在 VBScript 中, 如果将此函数的返回值设置为False, 则不完成转发操作且不显示新项目。In VBScript, if you set the return value of this function to False, the forward action is not completed and the new item is not displayed.

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