Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Evaluates the specified expression.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Function Eval ( _
expression As String _
) As Object
public Object Eval(
string expression
)
public:
Object^ Eval(
String^ expression
)
Parameters
- expression
Type: System.String
The expression.
Return Value
Type: System.Object
The results of the evaluation.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The expression parameter is null reference (Nothing in Visual Basic) or empty. |