V8ScriptEngineCompile Method (String) |
Creates a compiled script.
Namespace:
Microsoft.ClearScript.V8
Assembly:
ClearScript.V8 (in ClearScript.V8.dll) Version: 7.2.5
Syntaxpublic V8Script Compile(
string code
)
Public Function Compile (
code As String
) As V8Script
public:
V8Script^ Compile(
String^ code
)
member Compile :
code : string -> V8Script
Parameters
- code
- Type: SystemString
The script code to compile.
Return Value
Type:
V8ScriptA compiled script that can be executed multiple times without recompilation.
See Also