System.Windows.Forms.HtmlWindow.Confirm Method

Displays a dialog box with a message and buttons to solicit a yes/no response.

Syntax

public bool Confirm (string message)

Parameters

message
The text to display to the user.

Returns

true if the user clicked Yes; false if the user clicked No or closed the dialog box.

Remarks

HtmlWindow.Confirm(string) displays a modal dialog box; the user will not be able to access the underlying HTML page without first closing this dialog box.

Although HtmlWindow.Confirm(string) accepts Unicode text as input, the Internet Explorer script prompt will not display non-Latin language text appropriately on Windows 95, Windows 98, Windows ME or Windows NT due to operating system limitations. For more information, see tp://support.microsoft.com/default.aspx?scid=kb;en-us;211147.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0