Spread WPF Documentation
Evaluate(String,CalcParserContext,CalcEvaluatorContext) Method


GrapeCity.CalcEngine Namespace > CalcEvaluator Class > Evaluate Method : Evaluate(String,CalcParserContext,CalcEvaluatorContext) Method
The formula.
The parser context.
The evaluator context.
Evaluates the specified formula.
Syntax
'Declaration
 
Public Overloads Function Evaluate( _
   ByVal formula As System.String, _
   Optional ByVal parserContext As CalcParserContext, _
   Optional ByVal evaluatorContext As CalcEvaluatorContext _
) As System.Object
'Usage
 
Dim instance As CalcEvaluator
Dim formula As System.String
Dim parserContext As CalcParserContext
Dim evaluatorContext As CalcEvaluatorContext
Dim value As System.Object
 
value = instance.Evaluate(formula, parserContext, evaluatorContext)
public System.object Evaluate( 
   System.string formula,
   CalcParserContext parserContext,
   CalcEvaluatorContext evaluatorContext
)

Parameters

formula
The formula.
parserContext
The parser context.
evaluatorContext
The evaluator context.

Return Value

An System.Object represent the result of expression.
Exceptions
ExceptionDescription
There are some errors in string formula.
See Also

Reference

CalcEvaluator Class
CalcEvaluator Members
Overload List