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


IGetStringDialog.DoModal Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Framework)  

IGetStringDialog.DoModal Method

Shows the dialog.

[Visual Basic .NET]
Public Function DoModal ( _
    ByVal dialogTitle As String, _
    ByVal getStringLabel As String, _
    ByVal initialValue As String, _
    ByVal hWnd As Integer _
) As Boolean
[C#]
public bool DoModal (
    string dialogTitle,
    string getStringLabel,
    string initialValue,
    int hWnd
);

Product Availability

Available with ArcGIS Desktop.

Description

 

dialogTitle is a string that specifies the title of the dialog.

getStringLabel specifies the label for the string.

initialValue specifies the intial value of the string to be displayed in the dialog.

hWnd specifies the window handle of the parent window. In most cases this will be the hWnd of the application.

 

Remarks

If the dialog was cancelled, the DoModal method returns False.

See Also

IGetStringDialog Interface