IVsProfferCommands4::RemoveCommandBar Method (Object^)

 

Removes a command bar.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

int RemoveCommandBar(
	Object^ pCmdBar
)

Parameters

pCmdBar
Type: System::Object^

[in] The command bar to remove.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Return to top
Show: