Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Rdl Namespace / RdlColor Class / TryParse Method
A string to parse.
OUT: true if s represents an expression, false otherwise.
OUT: System.Drawing.Color if isExpression is false.
OUT: expression if isExpression is true.

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

    Parameters

    s
    A string to parse.
    isExpression
    OUT: true if s represents an expression, false otherwise.
    value
    OUT: System.Drawing.Color if isExpression is false.
    expression
    OUT: expression if isExpression is true.

    Return Value

    true if s represents a valid RdlColor instance.
    See Also