V8RuntimeCreateScriptEngine Method (String) |
Creates a new V8 script engine instance with the specified name.
Namespace:
Microsoft.ClearScript.V8
Assembly:
ClearScript.V8 (in ClearScript.V8.dll) Version: 7.3.1
Syntaxpublic V8ScriptEngine CreateScriptEngine(
string engineName
)
Public Function CreateScriptEngine (
engineName As String
) As V8ScriptEngine
public:
V8ScriptEngine^ CreateScriptEngine(
String^ engineName
)
member CreateScriptEngine :
engineName : string -> V8ScriptEngine
Parameters
- engineName
- Type: SystemString
A name to associate with the instance. Currently this name is used only as a label in presentation contexts such as debugger user interfaces.
Return Value
Type:
V8ScriptEngineA new V8 script engine instance.
Remarks
The new script engine instance shares the V8 runtime with other instances created by
this method and any of its overloads.
See Also