FlexReport for WinForms | ComponentOne
C1.Win.FlexReport.4.5.2 Assembly / C1.Win.FlexReport Namespace / C1FlexReport Class / ParseExpression Method
A string with a VBScript expression to be parsed.

In This Topic
    ParseExpression Method (C1FlexReport)
    In This Topic
    Parses a VBScript expression in the current report context.
    Syntax
    'Declaration
     
    Public Function ParseExpression( _
       ByVal expression As String _
    ) As Exception
    public Exception ParseExpression( 
       string expression
    )

    Parameters

    expression
    A string with a VBScript expression to be parsed.

    Return Value

    An System.Exception if the expression is invalid, or null if no errors were detected.
    Remarks
    This method is useful for providing VBScript syntax-checking in designer applications.
    See Also