IVsProfferCommands3.RemoveCommandBar(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.
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.