共用方式為


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

適用於