This document is archived and information here might be outdated.  Recommended version.


IGPToolbox.OpenTool Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPToolbox.OpenTool Method

Returns a specific tool (by name) within the toolbox.

[Visual Basic .NET]
Public Function OpenTool ( _
    ByVal Name As String _
) As IGPTool
[C#]
public IGPTool OpenTool (
    string Name
);
[C++]
HRESULT OpenTool(
  BSTR Name
);
[C++]

Parameters Name [in]
Name is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGPToolbox Interface