MobileItem.BeforeAttachmentAdd Event (Outlook)

Occurs before an attachment is added to an instance of the parent object.

Version Information

Version Added: Outlook 2010

Syntax

expression .BeforeAttachmentAdd(Attachment, Cancel)

expression A variable that represents a MobileItem object.

Parameters

Name

Required/Optional

Data Type

Description

Attachment

Required

Attachment

The attachment to be added to the item.

Cancel

Required

Boolean

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

See Also

Concepts

MobileItem Object

MobileItem Object Members