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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2