MobileItem.BeforeAttachmentRead Event (Outlook)
Occurs before an attachment that is associated with an instance of the parent object is read from the file system, an attachment stream, or an Attachment object.
Version Information
Version Added: Outlook 2010
Syntax
expression .BeforeAttachmentRead(Attachment, Cancel)
expression A variable that represents a MobileItem object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
Attachment |
Required |
Attachment |
The attachment to be read. |
Cancel |
Required |
Boolean |
True to cancel the operation; False to allow the attachment to be read. |