Spread Silverlight Documentation
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
CalcParseExceptionThere are some errors in string formula.
Requirements

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

See Also

Reference

CalcEvaluator Class
CalcEvaluator Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.