IToolboxService.AddLinkedToolboxItem 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.
Adds a project-linked toolbox item to the toolbox.
Overloads
AddLinkedToolboxItem(ToolboxItem, IDesignerHost) |
Adds the specified project-linked toolbox item to the toolbox. |
AddLinkedToolboxItem(ToolboxItem, String, IDesignerHost) |
Adds the specified project-linked toolbox item to the toolbox in the specified category. |
AddLinkedToolboxItem(ToolboxItem, IDesignerHost)
- Source:
- IToolboxService.cs
- Source:
- IToolboxService.cs
- Source:
- IToolboxService.cs
Adds the specified project-linked toolbox item to the toolbox.
public:
void AddLinkedToolboxItem(System::Drawing::Design::ToolboxItem ^ toolboxItem, System::ComponentModel::Design::IDesignerHost ^ host);
public void AddLinkedToolboxItem (System.Drawing.Design.ToolboxItem toolboxItem, System.ComponentModel.Design.IDesignerHost host);
abstract member AddLinkedToolboxItem : System.Drawing.Design.ToolboxItem * System.ComponentModel.Design.IDesignerHost -> unit
Public Sub AddLinkedToolboxItem (toolboxItem As ToolboxItem, host As IDesignerHost)
Parameters
- toolboxItem
- ToolboxItem
The linked ToolboxItem to add to the toolbox.
- host
- IDesignerHost
The IDesignerHost for the current design document.
Remarks
A linked toolbox item is a toolbox item that is only available for a specific project.
Applies to
AddLinkedToolboxItem(ToolboxItem, String, IDesignerHost)
- Source:
- IToolboxService.cs
- Source:
- IToolboxService.cs
- Source:
- IToolboxService.cs
Adds the specified project-linked toolbox item to the toolbox in the specified category.
public:
void AddLinkedToolboxItem(System::Drawing::Design::ToolboxItem ^ toolboxItem, System::String ^ category, System::ComponentModel::Design::IDesignerHost ^ host);
public void AddLinkedToolboxItem (System.Drawing.Design.ToolboxItem toolboxItem, string category, System.ComponentModel.Design.IDesignerHost host);
abstract member AddLinkedToolboxItem : System.Drawing.Design.ToolboxItem * string * System.ComponentModel.Design.IDesignerHost -> unit
Public Sub AddLinkedToolboxItem (toolboxItem As ToolboxItem, category As String, host As IDesignerHost)
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.
Remarks
A linked toolbox item is a toolbox item that is only available for a specific project.