ViewDataDictionary.Eval Method
Evaluates an expression.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
| Name | Description | |
|---|---|---|
![]() | Eval(String) | Evaluates the specified expression. |
![]() | Eval(String, String) | Evaluates the specified expression by using the specified format. |
ViewDataDictionary.Eval Method (String)
Evaluates the specified expression.
Parameters
- expression
-
Type:
System.String
The expression.
| Exception | Condition |
|---|---|
| ArgumentException | The expression parameter is null or empty. |
ViewDataDictionary.Eval Method (String, String)
Evaluates the specified expression by using the specified format.
Show:
