GrapeCity.Xaml.CalcEngine
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
CalcParseExceptionThere are some errors in string formula.
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

CalcEvaluator Class
CalcEvaluator Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options