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)
Syntax
'Declaration
Public Enumeration OlActionShowOn
'Usage
Dim instance As OlActionShowOn
public enum OlActionShowOn
Members
Member name | Description | |
---|---|---|
olDontShow | Indicates that the Action will not be displayed on the menu or toolbar. | |
olMenu | Indicates that the Action will be displayed as an available action on the menu. | |
olMenuAndToolbar | Indicates that the Action will be displayed as an available action on the menu and the toolbar. |
Remarks
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.