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


IGetUserAndPasswordDialog.DoModal Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IG > IGetUserAndPasswordDialog Interface > IGetUserAndPasswordDialog.DoModal Method
ArcGIS Developer Help

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