_DTE.CommandBars Property

Gets a reference to the development environment's command bars.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Object CommandBars { get; }

Property Value

Type: System.Object
A CommandBars object.

This class is a part of the Microsoft.VisualStudio.CommandBars namespace.

You can add or remove command bars to this collection by calling AddCommandBar. Please see the documentation for this method to find more information about command bars.

Sub CommandBarsExample()
End Sub

Community Additions