ToolboxService.IToolboxService.AddLinkedToolboxItem Method

Definition

Adds a project-linked toolbox item to the toolbox.

Overloads

IToolboxService.AddLinkedToolboxItem(ToolboxItem, IDesignerHost)

For a description of this member, see the AddLinkedToolboxItem(ToolboxItem, IDesignerHost) method.

C#
void IToolboxService.AddLinkedToolboxItem(System.Drawing.Design.ToolboxItem toolboxItem, System.ComponentModel.Design.IDesignerHost host);

Parameters

toolboxItem
ToolboxItem

The linked ToolboxItem to add to the toolbox.

host
IDesignerHost

The IDesignerHost for the current design document.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the ToolboxService instance is cast to an IToolboxService interface.

Applies to

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

IToolboxService.AddLinkedToolboxItem(ToolboxItem, String, IDesignerHost)

For a description of this member, see the AddLinkedToolboxItem(ToolboxItem, String, IDesignerHost) method.

C#
void IToolboxService.AddLinkedToolboxItem(System.Drawing.Design.ToolboxItem toolboxItem, string category, System.ComponentModel.Design.IDesignerHost host);

Parameters

toolboxItem
ToolboxItem

The linked ToolboxItem to add to the toolbox.

category
String

The toolbox item category to add the toolbox item to.

host
IDesignerHost

The IDesignerHost for the current design document.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the ToolboxService instance is cast to an IToolboxService interface.

Applies to

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1