Alert Method

HtmlWindow.Alert Method

Silverlight

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

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

public void Alert(
	string alertText
)

Parameters

alertText
Type: System.String
The text to display.

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

Silverlight

Supported in: 5, 4, 3

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

Community Additions

ADD
Show:
© 2016 Microsoft