IVsProfferCommands4.RemoveCommandBar(Object) 方法

定义

删除命令栏。

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

参数

pCmdBar
Object

中要移除的命令栏。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

实现

适用于