Commands2::RemoveCommandBar Method (Object^)

 

Removes a command bar that was created with the AddCommandBar method.

Namespace:   EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

void RemoveCommandBar(
	Object^ CommandBar
)

Parameters

CommandBar
Type: System::Object^

Required. The CommandBar object to remove.

This method fails if the command bar is intrinsic (built-in) to the environment.

Return to top
Show: