ArcObjects Library Reference (Framework)  

IGetUserAndPasswordDialog.DoModal Method

Shows the dialog.

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

Product Availability

Available with ArcGIS Desktop.

Description

 

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

stringLabel specifies the label for 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

IGetUserAndPasswordDialog Interface