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


IGPToolbox.OpenTool Method (ArcObjects .NET 10.4 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,
  IGPTool** Tool
);
[C++]

Parameters Name [in] Name is a parameter of type BSTR Tool [out, retval]
Tool is a parameter of type IGPTool

Product Availability

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

See Also

IGPToolbox Interface