Visual Basic (Declaration) | |
---|---|
Public Overloads Sub AddLinkedToolboxItem( _ ByVal toolboxItem As System.Drawing.Design.ToolboxItem, _ ByVal category As System.String, _ ByVal host As System.ComponentModel.Design.IDesignerHost _ ) |
C# | |
---|---|
public void AddLinkedToolboxItem( System.Drawing.Design.ToolboxItem toolboxItem, System.string category, System.ComponentModel.Design.IDesignerHost host ) |
Parameters
- toolboxItem
- The System.Drawing.Design ToolboxItem in the current project to add to the toolbox.
- category
- A String that describes the toolbox category where you want to add the ToolboxItem.
- host
- The System.ComponentModel.Design IDesignerHost interface associated with the ToolboxItem. (This is not available in Visual Studio 2008.)
If the specified category does not exist, this method creates it.