Click or drag to resize

CefV8ContextTryEval Method

Evaluates the specified JavaScript code using this context's global object. On success |retval| will be set to the return value, if any, and the function will return true. On failure |exception| will be set to the exception, if any, and the function will return false.

Namespace:  Internal.Xilium.CefGlue
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public bool TryEval(
	string code,
	out CefV8Value returnValue,
	out CefV8Exception exception
)

Parameters

code
Type: SystemString
returnValue
Type: Internal.Xilium.CefGlueCefV8Value
exception
Type: Internal.Xilium.CefGlueCefV8Exception

Return Value

Type: Boolean
See Also