Script..::..Eval<(Of <(<'T>)>)> Method (String)
The eval() method evaluates JavaScript code represented as a string.
Namespace:
BridgeAssembly: Bridge (in Bridge.dll)
Syntax
[TemplateAttribute] public static T Eval<T>( string expression )
<TemplateAttribute> _ Public Shared Function Eval(Of T) ( _ expression As String _ ) As T
[TemplateAttribute] public: generic<typename T> static T Eval( String^ expression )
Type Parameters
- T
Parameters
- expression
- Type: System..::..String
A string representing a JavaScript expression, statement, or sequence of statements. The expression can include variables and properties of existing objects.