Application.FolderContextMenuDisplay Event
Outlook Developer Reference |
Occurs before a context menu is displayed for a folder.
Version Information
Version Added: Outlook 2007
Syntax
expression.FolderContextMenuDisplay(CommandBar, Folder)
expression An expression that returns a Application object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
CommandBar | Required | CommandBar | The context menu to be displayed. |
Folder | Required | Folder | The folder for which the context menu is to be displayed. |
Remarks
This event occurs before a context menu for a folder, such as the Inbox folder, is to be displayed, allowing the CommandBar object representing the context menu to be customized by an add-in.
See Also