Share via


ApplicationEvents_11_Event.StoreContextMenuDisplay Event

Occurs before a context menu is displayed for a store.

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

Syntax

'Declaration
Event StoreContextMenuDisplay As ApplicationEvents_11_StoreContextMenuDisplayEventHandler
'Usage
Dim instance As ApplicationEvents_11_Event
Dim handler As ApplicationEvents_11_StoreContextMenuDisplayEventHandler

AddHandler instance.StoreContextMenuDisplay, handler
event ApplicationEvents_11_StoreContextMenuDisplayEventHandler StoreContextMenuDisplay

Remarks

This event occurs before a context menu for a store, such as an Exchange mailbox or a personal folders (.pst) file, 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_StoreContextMenuDisplayEventHandler