Table of Contents
WebViewExtensions.EvalScriptAsync Method (WebView, String, String)

Asynchronously Execute JavaScript code in a frame without returning the result value.

Syntax
 public static Task EvalScriptAsync(
   WebView webView,
   string script,
   string frameName = null
);

Parameters

webView
The WebView object.
script
The JavaScript code to be executed.
frameName
The name of the frame in which the code to be executed. Pass null to execute the code in the main frame.

Return Value

A task that represents the asynchronous operation.

See Also