次の方法で共有


IVsProfferCommands3.RemoveCommandBarControl(Object) Method

Definition

Remove 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.

Applies to