Spread Silverlight Documentation
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 System.Boolean, _
   ByVal acceptsReference As System.Boolean _
) As System.Object
'Usage
 
Dim instance As CalcEvaluator
Dim expr As CalcExpression
Dim context As CalcEvaluatorContext
Dim acceptsArray As System.Boolean
Dim acceptsReference As System.Boolean
Dim value As System.Object
 
value = instance.Evaluate(expr, context, acceptsArray, acceptsReference)
public System.object Evaluate( 
   CalcExpression expr,
   CalcEvaluatorContext context,
   System.bool acceptsArray,
   System.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.
See Also

Reference

CalcEvaluator Class
CalcEvaluator Members
Overload List