Share via


_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.

See Also

Reference

_Explorer Interface

_Explorer Members

Microsoft.Office.Interop.Outlook Namespace