_Explorer.CommandBars Property
Returns a CommandBars Object collection that represents all the menus and toolbars in the Explorer. Read-only.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
ReadOnly Property CommandBars As CommandBars
Get
'Usage
Dim instance As _Explorer
Dim value As CommandBars
value = instance.CommandBars
CommandBars CommandBars { get; }
Property Value
Type: Microsoft.Office.Core.CommandBars
Remarks
In Outlook, because the Explorer does not use the Ribbon, you should continue to use the CommandBars object returned by the Explorer.CommandBars property to modify existing command bars or create custom command bars.