Window2::CommandBars Property

 

Gets a collection of Microsoft.VisualStudio.CommandBars contained in the current window.

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

property Object^ CommandBars {
	Object^ get();
}

Property Value

Type: System::Object^

A Microsoft.VisualStudio.CommandBars collection.

This example iterates through the CommandBars collection for the Object Browser window, and then displays the caption of each command in a message box.

No code example is currently available or this language may not be supported.
Return to top
Show: