ViewDataDictionary.Eval Method (String)

Evaluates the specified expression.

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

'Declaration
Public Function Eval ( _
	expression As String _
) As Object
'Usage
Dim instance As ViewDataDictionary 
Dim expression As String 
Dim returnValue As Object 

returnValue = instance.Eval(expression)

Parameters

expression
Type: System.String

The expression.

Return Value

Type: System.Object
The results of the evaluation.

ExceptionCondition
ArgumentException

The expression parameter is Nothing or empty.

Show: