ComponentOne ReportViewer for ASP.NET Web Forms
C1.C1Report.4 Assembly / C1.C1Preview Namespace / LineDef Class / Parse Method / Parse(String,Boolean) Method
A string representing a LineDef (see ToString).
If true, an exception is thrown if an error occurs while parsing; otherwise, errors are ignored.

In This Topic
    Parse(String,Boolean) Method
    In This Topic
    Creates a LineDef object, and initialises it with values acquired by parsing a string representation of a LineDef.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Parse( _
       ByVal s As System.String, _
       ByVal throwOnError As System.Boolean _
    ) As LineDef
    public static LineDef Parse( 
       System.string s,
       System.bool throwOnError
    )

    Parameters

    s
    A string representing a LineDef (see ToString).
    throwOnError
    If true, an exception is thrown if an error occurs while parsing; otherwise, errors are ignored.

    Return Value

    The new LineDef object.
    See Also