ViewDataDictionary.Eval Method (String)

Visual Studio 2010

Evaluates the specified expression.

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

public Object Eval(
	string expression
)

Parameters

expression
Type: System.String
The expression.

Return Value

Type: System.Object
The results of the evaluation.

ExceptionCondition
ArgumentException

The expression parameter is null or empty.

Community Additions

ADD
Show: