Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Rdl Namespace / RdlSize Class / TryParse Method
A string to parse.
OUT: true if s contains an expression, false otherwise.
OUT: an instance of ReportSize if isExpression is false, null otherwise.
OUT: the expression string if %% is true, null otherwise.

In This Topic
    TryParse Method (RdlSize)
    In This Topic
    Parses a string into properties of RdlSize type.
    Syntax
    'Declaration
     
    Public Shared Function TryParse( _
       ByVal s As String, _
       ByRef isExpression As Boolean, _
       ByRef value As ReportSize, _
       ByRef expression As String _
    ) As Boolean
    public static bool TryParse( 
       string s,
       out bool isExpression,
       out ReportSize value,
       out string expression
    )

    Parameters

    s
    A string to parse.
    isExpression
    OUT: true if s contains an expression, false otherwise.
    value
    OUT: an instance of ReportSize if isExpression is false, null otherwise.
    expression
    OUT: the expression string if %% is true, null otherwise.

    Return Value

    Returns true if s represents a valid RdlSize instance.
    See Also