Click or drag to resize

V8ScriptEngineCompile Method (String)

Creates a compiled script.

Namespace:  Microsoft.ClearScript.V8
Assembly:  ClearScript.V8 (in ClearScript.V8.dll) Version: 7.2.4
Syntax
public V8Script Compile(
	string code
)

Parameters

code
Type: SystemString
The script code to compile.

Return Value

Type: V8Script
A compiled script that can be executed multiple times without recompilation.
See Also