ComponentOne AutoComplete for ASP.NET Web Forms
C1.C1Report.4 Assembly / C1.C1Report Namespace / C1Report Class / ParseStatement Method / ParseStatement(String,String,Boolean) Method
A string with a VBScript statement to be parsed.
The name of the statement. A statement can contain named functions and procedures, in which case they are identified by the statement name and function or procedure name pair.
Indicates whether it is the GlobalScripts that is being parsed.

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

    Parameters

    statement
    A string with a VBScript statement to be parsed.
    name
    The name of the statement. A statement can contain named functions and procedures, in which case they are identified by the statement name and function or procedure name pair.
    isGlobal
    Indicates whether it is the GlobalScripts that is being 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