HtmlWindow.Alert Method

Displays a dialog box that contains an application-defined message.

Namespace:  System.Windows.Browser
Assembly:  System.Windows.Browser (in System.Windows.Browser.dll)

Syntax

'Declaration
Public Sub Alert ( _
    alertText As String _
)
public void Alert(
    string alertText
)

Parameters

Remarks

For information about the JavaScript alert method, see the alert method in the dynamic HTML (DHTML) documentation.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.