GrapeCity.Xaml.CalcEngine
Evaluate(CalcExpression,CalcEvaluatorContext,Boolean,Boolean) Method


GrapeCity.CalcEngine Namespace > CalcEvaluator Class > Evaluate Method : Evaluate(CalcExpression,CalcEvaluatorContext,Boolean,Boolean) Method
The expression to be evaluated.
The context for evaluator to query data.
Indicate whether the evaluate can accepts an array.
Indicate whether the evaluate can accepts a reference.
Evaluate a GrapeCity.CalcEngine.Expressions.CalcExpression with specified CalcEvaluatorContext.
Syntax
'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)

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.
See Also

Reference

CalcEvaluator Class
CalcEvaluator Members
Overload List