CommandBarsClass::Add Method (Object^, Object^, Object^, Object^)
Visual Studio 2015
Adds a command bar.
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
public: [DispIdAttribute(1610809346)] virtual CommandBar^ Add( Object^ Name, Object^ Position, Object^ MenuBar, Object^ Temporary )
Parameters
- Name
-
Type:
System::Object^
The name of the command bar.
- Position
-
Type:
System::Object^
The MsoBarPosition.
- MenuBar
-
Type:
System::Object^
true if the command bar is a menu bar, otherwise false.
- Temporary
-
Type:
System::Object^
true if the bar is temporary, otherwise false.
Show: