Partager via


MobileItem.BeforeAttachmentWriteToTempFile Event (Outlook)

Occurs before an attachment that is associated with an instance of the parent object is written to a temporary file.

Version Information

Version Added: Outlook 2010

Syntax

expression .BeforeAttachmentWriteToTempFile(Attachment, Cancel)

expression A variable that represents a MobileItem object.

Parameters

Name

Required/Optional

Data Type

Description

Attachment

Required

Attachment

The attachment to be written.

Cancel

Required

Boolean

True to cancel the operation; False to allow the attachment to be written.

See Also

Concepts

MobileItem Object Members

MobileItem Object