Commands.RemoveCommandBar Method (Object)

 

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

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

Sub RemoveCommandBar (
	CommandBar As Object
)

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.

The CommandBar object is a member of the Microsoft Office object model.

Return to top
Show: