Click or drag to resize

WebBrowserExtensionsEvaluateScriptAsync Method (IWebBrowser, String, NullableTimeSpan)

Version 71.0.0

[Missing <summary> documentation for "M:CefSharp.WebBrowserExtensions.EvaluateScriptAsync(CefSharp.IWebBrowser,System.String,System.Nullable{System.TimeSpan})"]

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 71.0.0.0 (71.0.0.0)
Syntax
public static Task<JavascriptResponse> EvaluateScriptAsync(
	this IWebBrowser browser,
	string script,
	Nullable<TimeSpan> timeout = null
)

Parameters

browser
Type: CefSharpIWebBrowser

[Missing <param name="browser"/> documentation for "M:CefSharp.WebBrowserExtensions.EvaluateScriptAsync(CefSharp.IWebBrowser,System.String,System.Nullable{System.TimeSpan})"]

script
Type: SystemString

[Missing <param name="script"/> documentation for "M:CefSharp.WebBrowserExtensions.EvaluateScriptAsync(CefSharp.IWebBrowser,System.String,System.Nullable{System.TimeSpan})"]

timeout (Optional)
Type: SystemNullableTimeSpan

[Missing <param name="timeout"/> documentation for "M:CefSharp.WebBrowserExtensions.EvaluateScriptAsync(CefSharp.IWebBrowser,System.String,System.Nullable{System.TimeSpan})"]

Return Value

Type: TaskJavascriptResponse

[Missing <returns> documentation for "M:CefSharp.WebBrowserExtensions.EvaluateScriptAsync(CefSharp.IWebBrowser,System.String,System.Nullable{System.TimeSpan})"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IWebBrowser. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also