_CommandBars::Item Property (Object^)

 

Gets the command bar that matches the given name or index.

Namespace:   Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

[DispIdAttribute(0)]
property CommandBar^ default[
	Object^ Index
] {
	[DispIdAttribute(0)]
	CommandBar^ get(Object^ Index);
}

Parameters

Index
Type: System::Object^

The name or index.

Property Value

Type: Microsoft.VisualStudio.CommandBars::CommandBar^

The CommandBar that matches the name or index.

Return to top
Show: