Condividi tramite


IVsProfferCommands4.RemoveCommandBar(Object) Method

Definition

Removes a command bar.

public:
 int RemoveCommandBar(System::Object ^ pCmdBar);
public:
 int RemoveCommandBar(Platform::Object ^ pCmdBar);
int RemoveCommandBar(winrt::Windows::Foundation::IInspectable const & pCmdBar);
public int RemoveCommandBar (object pCmdBar);
abstract member RemoveCommandBar : obj -> int
Public Function RemoveCommandBar (pCmdBar As Object) As Integer

Parameters

pCmdBar
Object

[in] The command bar to remove.

Returns

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

Implements

Applies to