Click or drag to resize

WebBrowserExtensionsEvaluateScriptAsync Method (IWebBrowser, String, NullableTimeSpan)

Version 75.1.140

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

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 75.1.140.0 (75.1.140.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