This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPToolCommandHelper2 Interface > IGPToolCommandHelper2.InvokeModal Method (ArcObjects .NET 10.4 SDK) |
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