ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.V8
V8ScriptEngine Class
V8ScriptEngine Methods
Execute Method
Execute(V8Script) Method

# V8ScriptEngineExecute(V8Script) Method

Executes a compiled script.
Namespace: Microsoft.ClearScript.V8
Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public void Execute(
    	V8Script script
    )

    Public Sub Execute (
    	script As V8Script
    )

    public:
    void Execute(
    	V8Script^ script
    )

    member Execute :
            script : V8Script -> unit

#### Parameters

script V8Script
  The compiled script to execute.

Remarks
This method is similar to Evaluate(V8Script) with the exception that it does not marshal a result value to the host. It can provide a performance advantage when the result value is not needed.
See Also

#### Reference

V8ScriptEngine Class
Execute Overload
Microsoft.ClearScript.V8 Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft