Share via


WebBrowser.InvokeScript Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Executes a script function that is defined in the currently loaded HTML.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method InvokeScript(String) Executes the specified script, which is defined in the currently loaded HTML.
Public method InvokeScript(String, array<String[]) Executes the specified script function, which is defined in the currently loaded HTML, with the specified arguments.

Top