'Declaration Public Overloads Function Evaluate( _ ByVal expr As CalcExpression, _ ByVal context As CalcEvaluatorContext, _ ByVal acceptsArray As Boolean, _ ByVal acceptsReference As Boolean _ ) As Object
'Usage Dim instance As CalcEvaluator Dim expr As CalcExpression Dim context As CalcEvaluatorContext Dim acceptsArray As Boolean Dim acceptsReference As Boolean Dim value As Object value = instance.Evaluate(expr, context, acceptsArray, acceptsReference)
public object Evaluate( CalcExpression expr, CalcEvaluatorContext context, bool acceptsArray, bool acceptsReference )
Parameters
- expr
- The expression to be evaluated.
- context
- The context for evaluator to query data.
- acceptsArray
- Indicate whether the evaluate can accepts an array.
- acceptsReference
- Indicate whether the evaluate can accepts a reference.
Return Value
An System.Object represent the result of expression.