共用方式為


MailItem.BeforeAutoSave Event (Outlook)

Occurs before the item is automatically saved by Outlook.

Version Information

Version Added: Outlook 2007

Syntax

expression .BeforeAutoSave(Cancel, )

expression A variable that represents a MailItem object.

Parameters

Name

Required/Optional

Data Type

Description

Cancel

Required

Boolean

Set to True to cancel the operation; otherwise, set to False to allow the MailItem to be saved.

See Also

Concepts

MailItem Object

MailItem Object Members