IFrameExecuteJavaScriptAsync Method |
Version 101.0.180
Execute a string of JavaScript code in this frame.
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 101.0.180.0 (101.0.180.0)
Syntax void ExecuteJavaScriptAsync(
string code,
string scriptUrl = "about:blank",
int startLine = 1
)
void ExecuteJavaScriptAsync(
String^ code,
String^ scriptUrl = L"about:blank",
int startLine = 1
)
Parameters
- code
- Type: SystemString
Javascript to execute - scriptUrl (Optional)
- Type: SystemString
is the URL where the script in question can be found, if any.
The renderer may request this URL to show the developer the source of the error. - startLine (Optional)
- Type: SystemInt32
is the base line number to use for error reporting.
See Also