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


IGPToolCommandHelper2.InvokeModal Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPToolCommandHelper2.InvokeModal Method

Invokes the tool with a modal dialog currently associated with the command.

[Visual Basic .NET]
Public Sub InvokeModal ( _
    ByVal hWndParent As Integer, _
    ByVal Parameters As IArray, _
    ByRef pOK As Boolean, _
    ByRef ppMessages As IGPMessages _
)
[C#]
public void InvokeModal (
    int hWndParent,
    IArray Parameters,
    ref bool pOK,
    ref IGPMessages ppMessages
);
[C++]
HRESULT InvokeModal(
  long hWndParent,
  IArray* Parameters,
  VARIANT_BOOL* pOK,
  IGPMessages** ppMessages
);
[C++]

Parameters hWndParent [in] hWndParent is a parameter of type long Parameters [in]
Parameters is a parameter of type IArray pOK [out] pOK is a parameter of type VARIANT_BOOL ppMessages [out]
ppMessages is a parameter of type IGPMessages

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGPToolCommandHelper2 Interface

.NET Related Topics

Opening a geoprocessing tool's dialog box in .NET