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

# V8ScriptEngineEvaluate(V8Script) Method

Evaluates 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 Object Evaluate(
    	V8Script script
    )

    Public Function Evaluate (
    	script As V8Script
    ) As Object

    public:
    Object^ Evaluate(
    	V8Script^ script
    )

    member Evaluate :
            script : V8Script -> Object

#### Parameters

script V8Script
  The compiled script to evaluate.

#### Return Value

Object
The result value.
Remarks
For information about the types of result values that script code can return, see Evaluate(String, Boolean, String).
See Also

#### Reference

V8ScriptEngine Class
Evaluate Overload
Microsoft.ClearScript.V8 Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft