IVsProfferCommands4.RemoveCommandBar(Object) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
删除命令栏。
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
中要移除的命令栏。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。