Visual Basic (Declaration) | |
---|---|
Public Overloads Sub AddToolboxItem( _ ByVal toolboxItem As System.Drawing.Design.ToolboxItem, _ ByVal category As System.String _ ) |
C# | |
---|---|
public void AddToolboxItem( System.Drawing.Design.ToolboxItem toolboxItem, System.string category ) |
Parameters
- toolboxItem
- The System.Drawing.Design ToolboxItem to add to the toolbox.
- category
- A String that describes the toolbox category where you want to add the ToolboxItem.
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