CommandBarsClass::AddEx Method (Object^, Object^, Object^, Object^, Object^)
Visual Studio 2015
Adds a command bar, including its protection level.
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
public: [DispIdAttribute(1610809366)] [TypeLibFuncAttribute(64)] virtual CommandBar^ AddEx( Object^ TbidOrName, Object^ Position, Object^ MenuBar, Object^ Temporary, Object^ TbtrProtection )
Parameters
- TbidOrName
-
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.
- TbtrProtection
-
Type:
System::Object^
The MsoBarProtection.
Show: