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


IArcToolbox.InvokeTool Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoprocessingUI)  

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