ArcObjects Library Reference (GeoprocessingUI)  

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