ToolboxService.IToolboxService.RemoveToolboxItem Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the specified toolbox item from the toolbox.
Overloads
IToolboxService.RemoveToolboxItem(ToolboxItem) |
Removes the specified toolbox item from the toolbox. |
IToolboxService.RemoveToolboxItem(ToolboxItem, String) |
Removes the specified toolbox item from the toolbox. |
IToolboxService.RemoveToolboxItem(ToolboxItem)
Removes the specified toolbox item from the toolbox.
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
Parameters
- toolboxItem
- ToolboxItem
The ToolboxItem to remove from the toolbox.
Implements
Exceptions
toolboxItem
is null
.
Applies to
IToolboxService.RemoveToolboxItem(ToolboxItem, String)
Removes the specified toolbox item from the toolbox.
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
Parameters
- toolboxItem
- ToolboxItem
The ToolboxItem to remove from the toolbox.
- category
- String
The toolbox item category to remove the ToolboxItem from.
Implements
Exceptions
toolboxItem
or category
is null
.