ViewDataDictionary.Eval Method (String, String)
Evaluates the specified expression by using the specified format.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Function Eval ( _
expression As String, _
format As String _
) As String
public string Eval(
string expression,
string format
)
public:
String^ Eval(
String^ expression,
String^ format
)
Parameters
- expression
Type: System.String
The expression.
- format
Type: System.String
The format.
Return Value
Type: System.String
The results of the evaluation.