WebBrowserExtensions.GetScriptForJavascriptMethodWithArgs Method (original) (raw)
WebBrowserExtensionsGetScriptForJavascriptMethodWithArgs Method
Version 118.6.80
Transforms the methodName and arguments into valid Javascript code. Will encapsulate params in single quotes (unless int, uint, etc)
Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)
Syntax
public static string GetScriptForJavascriptMethodWithArgs( string methodName, Object[] args )
public: static String^ GetScriptForJavascriptMethodWithArgs( String^ methodName, array<Object^>^ args )
Parameters
methodName
Type: SystemString
The javascript method name to execute.
args
Type: SystemObject
the arguments to be passed as params to the method.
Return Value
Type: String
The Javascript code.
See Also