This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPToolbox2 Interface > IGPToolbox2.OpenTool Method (ArcObjects .NET 10.5 SDK) |
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