GrapeCity.CalcEngine Namespace > CalcEvaluator Class > Evaluate Method : Evaluate(String,CalcParserContext,CalcEvaluatorContext) Method |
'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 )
Exception | Description |
---|---|
CalcParseException | There are some errors in string formula. |
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6