System.Windows.Forms.HtmlWindow.Alert Method

Displays a message box.

Syntax

public void Alert (string message)

Parameters

message
The string to display in the message box.

Remarks

The System.Windows.Forms.MessageBox class offers a more powerful version of the HtmlWindow.Alert(string) method.

Although HtmlWindow.Alert(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