Spread WPF Documentation
Evaluate(CalcExpression,CalcEvaluatorContext) Method


GrapeCity.CalcEngine Namespace > CalcEvaluator Class > Evaluate Method : Evaluate(CalcExpression,CalcEvaluatorContext) Method
The expression to be evaluated.
The context for evaluator to query data.
Evaluate a GrapeCity.CalcEngine.Expressions.CalcExpression with specified CalcEvaluatorContext.
Syntax
'Declaration
 
Public Overloads Function Evaluate( _
   ByVal expr As CalcExpression, _
   Optional ByVal context As CalcEvaluatorContext _
) As System.Object
'Usage
 
Dim instance As CalcEvaluator
Dim expr As CalcExpression
Dim context As CalcEvaluatorContext
Dim value As System.Object
 
value = instance.Evaluate(expr, context)
public System.object Evaluate( 
   CalcExpression expr,
   CalcEvaluatorContext context
)

Parameters

expr
The expression to be evaluated.
context
The context for evaluator to query data.

Return Value

An System.Object represent the result of expression.
See Also

Reference

CalcEvaluator Class
CalcEvaluator Members
Overload List