Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Rdl Namespace / ReportSize Class / TryParse Method
A string to convert.
OUT: a ReportSizeType value specifying the units of the parsed size.
OUT: a double value representing the parsed size, in reportSizeType units.

In This Topic
    TryParse Method (ReportSize)
    In This Topic
    Converts a string to the corresponding ReportSizeType value. A return value indicates whether the conversion succeeded or failed.
    Syntax
    'Declaration
     
    Public Shared Function TryParse( _
       ByVal s As String, _
       ByRef reportSizeType As ReportSizeType, _
       ByRef value As Double _
    ) As Boolean
    public static bool TryParse( 
       string s,
       out ReportSizeType reportSizeType,
       out double value
    )

    Parameters

    s
    A string to convert.
    reportSizeType
    OUT: a ReportSizeType value specifying the units of the parsed size.
    value
    OUT: a double value representing the parsed size, in reportSizeType units.

    Return Value

    true if s was converted successfully; otherwise, false.
    See Also