GrapeCity.Xaml.CalcEngine
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 String, _
   Optional ByVal parserContext As CalcParserContext, _
   Optional ByVal evaluatorContext As CalcEvaluatorContext _
) As Object
'Usage
 
Dim instance As CalcEvaluator
Dim formula As String
Dim parserContext As CalcParserContext
Dim evaluatorContext As CalcEvaluatorContext
Dim value As Object
 
value = instance.Evaluate(formula, parserContext, 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