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

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

    Parameters

    s
    A string to parse.
    isExpression
    OUT: true if s contains an expression, false otherwise.
    value
    OUT: the Boolean value if isExpression is false.
    expression
    OUT: the expression if isExpression is true.

    Return Value

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