NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IToolboxService.AddTool

[To be supplied.]

Overload List

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(ToolboxItem, String)
[C#] void AddTool(ToolboxItem, String);
[C++] void AddTool(ToolboxItem*, String) = 0;
[JScript] function AddTool(ToolboxItem, String);

Adds a new tool to the toolbox under the default 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(ToolboxItem)
[C#] void AddTool(ToolboxItem);
[C++] void AddTool(ToolboxItem*) = 0;
[JScript] function AddTool(ToolboxItem);

See Also

IToolboxService Interface | IToolboxService Members | System.WinForms.Design Namespace