Share via


_Inspector.CommandBars Property

Returns a CommandBars Object collection that represents all the menus and toolbars in the Inspector. 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 _Inspector
Dim value As CommandBars

value = instance.CommandBars
CommandBars CommandBars { get; }

Property Value

Type: Microsoft.Office.Core.CommandBars

Remarks

Command bar customization in an Inspector is displayed by default in the Add-ins tab on the Ribbon. This might be acceptable to you, or you might decide that the Add-ins tab experience is less than optimal for your command user interface. If the latter is the case, you should consider updating your code to use Ribbon extensibility. For more information, see the following:

See Also

Reference

_Inspector Interface

_Inspector Members

Microsoft.Office.Interop.Outlook Namespace