IVsProfferCommands3.RemoveCommandBarControl(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.