ViewDataDictionary.Eval Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Eval(String) |
Evaluates the specified expression. |
Eval(String, String) |
Evaluates the specified expression by using the specified format. |
Eval(String)
Evaluates the specified expression.
public object Eval (string expression);
member this.Eval : string -> obj
Public Function Eval (expression As String) As Object
Parameters
- expression
- String
The expression.
Returns
The results of the evaluation.
Exceptions
The expression
parameter is null or empty.
Applies to
Eval(String, String)
Evaluates the specified expression by using the specified format.
public string Eval (string expression, string format);
member this.Eval : string * string -> string
Public Function Eval (expression As String, format As String) As String
Parameters
- expression
- String
The expression.
- format
- String
The format.
Returns
The results of the evaluation.