Adds a new tool to the toolbox under the given category. Exceptions will be thrown if the tool already exists or if you are adding a class that should not be placed on the toolbox. For a class to exist on the toolbox, it must be a NGWS component and have the ShowInToolboxAttribute set.
[Visual Basic] Overloads Sub AddTool( _ ByVal toolboxItem As ToolboxItem, _ ByVal category As String _ ) [C#] void AddTool( ToolboxItem toolboxItem, string category ); [C++] void AddTool( ToolboxItem* toolboxItem, String* category ) = 0; [JScript] function AddTool( toolboxItem : ToolboxItem, category : String );
IToolboxService Interface | IToolboxService Members | System.WinForms.Design Namespace | IToolboxService.AddTool Overload List