CommandBarsClass::Add Method (Object^, Object^, Object^, Object^)

 

Adds a command bar.

Namespace:   Microsoft.VisualStudio.CommandBars
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.

Return to top
Show: