ApplicationEvents_11_Event.ItemContextMenuDisplay Event
Occurs before a context menu is displayed for a collection of Outlook items.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
Event ItemContextMenuDisplay As ApplicationEvents_11_ItemContextMenuDisplayEventHandler
'Usage
Dim instance As ApplicationEvents_11_Event
Dim handler As ApplicationEvents_11_ItemContextMenuDisplayEventHandler
AddHandler instance.ItemContextMenuDisplay, handler
event ApplicationEvents_11_ItemContextMenuDisplayEventHandler ItemContextMenuDisplay
Remarks
This event occurs before a context menu for either a single highlighted Outlook item or for one or more selected Outlook items 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_ItemContextMenuDisplayEventHandler