Windows.UI.Xaml.Controls.WebView.InvokeScript

May 17, 2019 · View on GitHub

-description

Note

InvokeScript may be altered or unavailable for releases after Windows 8.1. Instead, use InvokeScriptAsync.

Executes the specified script function from the currently loaded HTML, with specific arguments.

-parameters

-param scriptName

The name of the script function to invoke.

-param arguments

A string array that packages arguments to the script function.

-returns

The result of the script invocation.

-remarks

The invoked script can return only string values.

-examples

-see-also

InvokeScriptAsync