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


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

IArcToolbox2.InvokeModalTool Method

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

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

Product Availability

Available with ArcGIS Desktop.

See Also

IArcToolbox2 Interface