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.AddLinkedTool (ToolboxItem, String, String)

Adds a new tool to the toolbox under the given category. This tool will be "linked" to the given file. A linked tool is removed from the toolbox when the project that owns the file is closed. It is automatically re-added when the project is opened again.

[Visual Basic]
Overloads Sub AddLinkedTool( _
   ByVal toolboxItem As ToolboxItem, _
   ByVal category As String, _
   ByVal link As String _
)
[C#]
void AddLinkedTool(
   ToolboxItem toolboxItem,
   string category,
   string link
);
[C++]
void AddLinkedTool(
   ToolboxItem* toolboxItem,
   String* category,
   String* link
) = 0;
[JScript]
function AddLinkedTool(
   toolboxItem : ToolboxItem,
   category : String,
   link : String
);

Parameters

toolboxItem
The toolbox item to add.
category
The category under which to add the tool.
link
The file this tool is linked to.

See Also

IToolboxService Interface | IToolboxService Members | System.WinForms.Design Namespace | IToolboxService.AddLinkedTool Overload List