ToolboxService::IToolboxService::RemoveToolboxItem Method (ToolboxItem^, String^)

 

Removes the specified toolbox item from the toolbox.

Namespace:   System.Drawing.Design
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
Return to top
Show: