Export (0) Print
Expand All

_DTE.CommandBars Property

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

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

ReadOnly Property CommandBars As Object

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

© 2015 Microsoft