ToolboxService::IToolboxService::RemoveToolboxItem Method (ToolboxItem^, String^)
.NET Framework (current version)
Removes the specified toolbox item from the toolbox.
Assembly: System.Drawing.Design (in System.Drawing.Design.dll)
private: virtual void RemoveToolboxItem( ToolboxItem^ toolboxItem, String^ category ) sealed = IToolboxService::RemoveToolboxItem
Parameters
- toolboxItem
-
Type:
System.Drawing.Design::ToolboxItem^
The ToolboxItem to remove from the toolbox.
- category
-
Type:
System::String^
The toolbox item category to remove the ToolboxItem from.
| Exception | Condition |
|---|---|
| ArgumentNullException | toolboxItem or category is null. |
.NET Framework
Available since 2.0
Available since 2.0
Show: