CommandBarsClass::Item Property (Object^)
Visual Studio 2015
Gets the command bar that matches the given name or index.
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
public: [DispIdAttribute(0)] property CommandBar^ default[ Object^ Index ] { [DispIdAttribute(0)] virtual 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.
Implements
_CommandBars::Item[Object^]Notes to Inheritors:
This method should allow either the (1-based) index or the name of the command bar as parameters.
Show: