Share via


ApplicationEvents_11_Event.AttachmentContextMenuDisplay Event

Occurs before a context menu is displayed for a collection of attachments.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
Event AttachmentContextMenuDisplay As ApplicationEvents_11_AttachmentContextMenuDisplayEventHandler
'Usage
Dim instance As ApplicationEvents_11_Event
Dim handler As ApplicationEvents_11_AttachmentContextMenuDisplayEventHandler

AddHandler instance.AttachmentContextMenuDisplay, handler
event ApplicationEvents_11_AttachmentContextMenuDisplayEventHandler AttachmentContextMenuDisplay

Remarks

This event occurs before a context menu for one or more selected attachments is to be displayed, allowing the CommandBar object representing the context menu to be customized by an add-in.

See Also

Reference

ApplicationEvents_11_Event Interface

ApplicationEvents_11_Event Members

Microsoft.Office.Interop.Outlook Namespace

Microsoft.Office.Interop.Outlook.ApplicationEvents_11_AttachmentContextMenuDisplayEventHandler