MobileItem.BeforeAttachmentPreview Event (Outlook)

Occurs before an attachment that is associated with an instance of the parent object is previewed.

Version Information

Version Added: Outlook 2010

Syntax

expression .BeforeAttachmentPreview(Attachment, Cancel)

expression A variable that represents a MobileItem object.

Parameters

Name

Required/Optional

Data Type

Description

Attachment

Required

Attachment

The attachment to be previewed.

Cancel

Required

Boolean

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

Remarks

This event occurs before an attachment is previewed, either from the attachment strip in the Reading Pane of the active explorer or from the active inspector.

See Also

Concepts

MobileItem Object

MobileItem Object Members