Compartilhar via


IVsProfferCommands4.RemoveCommandBarControl(Object) Method

Definition

Removes a control from a command bar.

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

Parameters

pCmdBarCtrl
Object

[in] The control.

Returns

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

Implements

Applies to