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


IArcToolbox.InvokeTool Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeoprocessingUI > ESRI.ArcGIS.GeoprocessingUI > Interfaces > IA > IArcToolbox Interface > IArcToolbox.InvokeTool Method
ArcGIS Developer Help

IArcToolbox.InvokeTool Method

Invokes/executes the given tool, prompting the user for required input first.

[Visual Basic .NET]
Public Sub InvokeTool ( _
    ByVal parent As Integer, _
    ByVal tool As IGPTool, _
    ByVal parameters As IArray, _
    ByVal substituteEnvironments As Boolean _
)
[C#]
public void InvokeTool (
    int parent,
    IGPTool tool,
    IArray parameters,
    bool substituteEnvironments
);

Product Availability

Available with ArcGIS Desktop.

See Also

IArcToolbox Interface