FlexReport for WinForms | ComponentOne
C1.Win.FlexReport.4.5.2 Assembly / C1.Win.FlexReport Namespace / C1FlexReport Class / ParseStatement Method / ParseStatement(String) Method
A string with a VBScript statement to be parsed.

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

    Parameters

    statement
    A string with a VBScript statement to be parsed.

    Return Value

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