Evaluates a string.
Namespace:
C1.Silverlight.BindingAssembly: C1.Silverlight.Binding.5 (in C1.Silverlight.Binding.5.dll)
Syntax
C# |
---|
public Object Evaluate( string expression ) |
Visual Basic |
---|
Public Function Evaluate ( _ expression As String _ ) As Object |
Parameters
- expression
- Type: System..::..String
Expression to evaluate.
Return Value
The value of the expression.
Remarks
If you are going to evaluate the same expression several times,
it is more efficient to parse it only once using the Parse(String)
method and then using the Expression.Evaluate method to evaluate
the parsed expression.