Spread Windows Forms 15.0
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / FormulaEngine Class / Parse(String,Expression,Boolean) Method
A string indicates the formula text.
The parsed expression.


In This Topic
    Parse(String,Expression,Boolean) Method
    In This Topic
    Parses the specified formula text to expression.
    Syntax
    'Declaration
     
    
    Public Function Parse( _
       ByVal formulaText As String, _
       ByRef parsedExpression As Expression, _
       Optional ByVal detectFormulaSymbol As Boolean _
    ) As Boolean
    'Usage
     
    
    Dim instance As FormulaEngine
    Dim formulaText As String
    Dim parsedExpression As Expression
    Dim detectFormulaSymbol As Boolean
    Dim value As Boolean
     
    value = instance.Parse(formulaText, parsedExpression, detectFormulaSymbol)

    Parameters

    formulaText
    A string indicates the formula text.
    parsedExpression
    The parsed expression.
    detectFormulaSymbol

    Return Value

    true if the formula can be parsed to the instance, false otherwise.
    See Also