OlActionShowOn Enumeration

Identifies where an Action is displayed as an available action.

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

public enum OlActionShowOn

Member nameDescription
olDontShowIndicates that the Action will not be displayed on the menu or toolbar.
olMenuIndicates that the Action will be displayed as an available action on the menu.
olMenuAndToolbarIndicates that the Action will be displayed as an available action on the menu and the toolbar.

Displaying an action on a toolbar is only supported in versions of Outlook without the Microsoft Office Fluent ribbon, before Microsoft Office Outlook 2007.In versions of Outlook that contains the ribbon, custom actions are displayed only on the Custom Actions menu on the ribbon for an inspector, and on the context menu of an item.

Show: