This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > GeoprocessingUI > ESRI.ArcGIS.GeoprocessingUI > Interfaces > IA > IArcToolbox2 Interface > IArcToolbox2.InvokeModalTool Method (ArcObjects .NET 10.4 SDK) |
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 );