ToolboxService.IToolboxService.RemoveToolboxItem 方法

定义

从工具箱中移除指定的工具箱项。

重载

IToolboxService.RemoveToolboxItem(ToolboxItem)

从工具箱中移除指定的工具箱项。

IToolboxService.RemoveToolboxItem(ToolboxItem, String)

从工具箱中移除指定的工具箱项。

IToolboxService.RemoveToolboxItem(ToolboxItem)

从工具箱中移除指定的工具箱项。

 virtual void System.Drawing.Design.IToolboxService.RemoveToolboxItem(System::Drawing::Design::ToolboxItem ^ toolboxItem) = System::Drawing::Design::IToolboxService::RemoveToolboxItem;
void IToolboxService.RemoveToolboxItem (System.Drawing.Design.ToolboxItem toolboxItem);
abstract member System.Drawing.Design.IToolboxService.RemoveToolboxItem : System.Drawing.Design.ToolboxItem -> unit
override this.System.Drawing.Design.IToolboxService.RemoveToolboxItem : System.Drawing.Design.ToolboxItem -> unit
Sub RemoveToolboxItem (toolboxItem As ToolboxItem) Implements IToolboxService.RemoveToolboxItem

参数

toolboxItem
ToolboxItem

要从工具箱中移除的 ToolboxItem

实现

例外

toolboxItemnull

适用于

IToolboxService.RemoveToolboxItem(ToolboxItem, String)

从工具箱中移除指定的工具箱项。

 virtual void System.Drawing.Design.IToolboxService.RemoveToolboxItem(System::Drawing::Design::ToolboxItem ^ toolboxItem, System::String ^ category) = System::Drawing::Design::IToolboxService::RemoveToolboxItem;
void IToolboxService.RemoveToolboxItem (System.Drawing.Design.ToolboxItem toolboxItem, string category);
abstract member System.Drawing.Design.IToolboxService.RemoveToolboxItem : System.Drawing.Design.ToolboxItem * string -> unit
override this.System.Drawing.Design.IToolboxService.RemoveToolboxItem : System.Drawing.Design.ToolboxItem * string -> unit
Sub RemoveToolboxItem (toolboxItem As ToolboxItem, category As String) Implements IToolboxService.RemoveToolboxItem

参数

toolboxItem
ToolboxItem

要从工具箱中移除的 ToolboxItem

category
String

要从其中移除 ToolboxItem 的工具箱项的类别。

实现

例外

toolboxItemcategorynull

适用于