Udostępnij za pośrednictwem


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

Return Value

Type: System.String
The results of the evaluation.

See Also

Reference

ViewDataDictionary Class

Eval Overload

System.Web.Mvc Namespace