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

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

    Parameters

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

    Return Value

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