GrapeCity.Xaml.CalcEngine
Parse Method (CalcParser)


A string formula.
A CalcParserContext indicates the setting for parser.
Parse a string formula to GrapeCity.CalcEngine.Expressions.CalcExpression with specified CalcParserContext.
Syntax
'Declaration
 
Public Function Parse( _
   ByVal text As String, _
   ByVal context As CalcParserContext _
) As CalcExpression
'Usage
 
Dim instance As CalcParser
Dim text As String
Dim context As CalcParserContext
Dim value As CalcExpression
 
value = instance.Parse(text, context)
public CalcExpression Parse( 
   string text,
   CalcParserContext context
)

Parameters

text
A string formula.
context
A CalcParserContext indicates the setting for parser.

Return Value

A GrapeCity.CalcEngine.Expressions.CalcExpression indicate the expression tree. If text is System.String.Empty or a null reference (Nothing in Visual Basic), return a null reference (Nothing in Visual Basic).
Exceptions
ExceptionDescription
CalcParseExceptionThere are some errors in string formula.
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

CalcParser Class
CalcParser Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options