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


IGPToolbox.OpenTool Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPToolbox Interface > IGPToolbox.OpenTool Method
ArcGIS Developer Help

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