Edit

Share via


IToolboxService.AddToolboxItem Method

Definition

Adds the specified toolbox item to the toolbox.

Overloads

AddToolboxItem(ToolboxItem)

Adds the specified toolbox item to the toolbox.

AddToolboxItem(ToolboxItem, String)

Adds the specified toolbox item to the toolbox in the specified category.

AddToolboxItem(ToolboxItem)

Adds the specified toolbox item to the toolbox.

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

Parameters

toolboxItem
ToolboxItem

The ToolboxItem to add to the toolbox.

Applies to

AddToolboxItem(ToolboxItem, String)

Adds the specified toolbox item to the toolbox in the specified category.

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

Parameters

toolboxItem
ToolboxItem

The ToolboxItem to add to the toolbox.

category
String

The toolbox item category to add the ToolboxItem to.

Applies to