Share via


IToolboxService.RemoveToolboxItem 方法

定义

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

重载

RemoveToolboxItem(ToolboxItem)

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

RemoveToolboxItem(ToolboxItem, String)

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

RemoveToolboxItem(ToolboxItem)

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

public:
 void RemoveToolboxItem(System::Drawing::Design::ToolboxItem ^ toolboxItem);
public void RemoveToolboxItem (System.Drawing.Design.ToolboxItem toolboxItem);
abstract member RemoveToolboxItem : System.Drawing.Design.ToolboxItem -> unit
Public Sub RemoveToolboxItem (toolboxItem As ToolboxItem)

参数

toolboxItem
ToolboxItem

要从工具箱中移除的 ToolboxItem

适用于

RemoveToolboxItem(ToolboxItem, String)

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

public:
 void RemoveToolboxItem(System::Drawing::Design::ToolboxItem ^ toolboxItem, System::String ^ category);
public void RemoveToolboxItem (System.Drawing.Design.ToolboxItem toolboxItem, string category);
abstract member RemoveToolboxItem : System.Drawing.Design.ToolboxItem * string -> unit
Public Sub RemoveToolboxItem (toolboxItem As ToolboxItem, category As String)

参数

toolboxItem
ToolboxItem

要从工具箱中移除的 ToolboxItem

category
String

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

适用于