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.SetSelectedTool

Sets the currently selected tool in the toolbox. This will throw an exception if the class you are requesting is not on the toolbox.

[Visual Basic]
Sub SetSelectedTool( _
   ByVal toolboxItem As ToolboxItem _
)
[C#]
void SetSelectedTool(
   ToolboxItem toolboxItem
);
[C++]
void SetSelectedTool(
   ToolboxItem* toolboxItem
) = 0;
[JScript]
function SetSelectedTool(
   toolboxItem : ToolboxItem
);

Parameters

toolboxItem
The tool to select on the toolbox.

See Also

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