Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Rdl Namespace / RdlInt Class / TryParse Method
The string to parse.
OUT: true if s contains an expression.
OUT: the constant value if isExpression is false.
OUT: the expression if isExpression is true.

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

    Parameters

    s
    The string to parse.
    isExpression
    OUT: true if s contains an expression.
    value
    OUT: the constant value if isExpression is false.
    expression
    OUT: the expression if isExpression is true.

    Return Value

    true if s represents a valid RdlInt, false otherwise.
    See Also