Spread Silverlight Documentation
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 System.String, _
   ByVal context As CalcParserContext _
) As CalcExpression
'Usage
 
Dim instance As CalcParser
Dim text As System.String
Dim context As CalcParserContext
Dim value As CalcExpression
 
value = instance.Parse(text, context)
public CalcExpression Parse( 
   System.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 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

CalcParser Class
CalcParser Members

 

 


Copyright © GrapeCity, inc. All rights reserved.