ViewDataDictionary.Eval Method (String)

Evaluates the specified expression.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

member Eval : 
        expression:string -> Object

Parameters

expression
Type: System.String

The expression.

Return Value

Type: System.Object
The results of the evaluation.

ExceptionCondition
ArgumentException

The expression parameter is a null reference (Nothing in Visual Basic) or empty.

Show: