ViewDataDictionary.Eval Method

 

Evaluates an expression.

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

NameDescription
System_CAPS_pubmethodEval(String)

Evaluates the specified expression.

System_CAPS_pubmethodEval(String, String)

Evaluates the specified expression by using the specified format.

Return to top

ViewDataDictionary.Eval Method (String)

Evaluates the specified expression.

No code example is currently available or this language may not be supported.

Parameters

expression
Type: System.String

The expression.

Return Value

Type: System.Object

The results of the evaluation.

Exception Condition
ArgumentException

The expression parameter is null or empty.

Return to top

ViewDataDictionary.Eval Method (String, String)

Evaluates the specified expression by using the specified format.

No code example is currently available or this language may not be supported.

Parameters

expression
Type: System.String

The expression.

format
Type: System.String

The format.

Return Value

Type: System.String

The results of the evaluation.

Return to top
Show: