InteropExecuteJavaScript Method (String, Object) |
Allows calling JavaScript code from within C#.
Namespace: CSHTML5Assembly: CSharpXamlForHtml5 (in CSharpXamlForHtml5.dll) Version: 1.0.0.0
Syntax public static Object ExecuteJavaScript(
string javascript,
params Object[] variables
)
Parameters
- javascript
- Type: SystemString
The JavaScript code to execute. - variables
- Type: SystemObject
The objects to use inside the JavaScript call.
Return Value
Type:
ObjectThe result, if any, of the JavaScript call.
See Also