Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Report Namespace / C1Report 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