dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlNumeric Structure / TryParse Method
A string that contains a number to convert.
If the conversion was successful, this parameter contains the resulting PgSqlNumeric value; otherwise, it contains PgSqlNumeric.Null.

In This Topic
    TryParse Method (PgSqlNumeric)
    In This Topic
    Converts the string representation of a number to a PgSqlNumeric. The return value indicates whether the conversion succeeded or failed.
    Syntax
    'Declaration
     
    Public Shared Function TryParse( _
       ByVal value As String, _
       ByRef numeric As PgSqlNumeric _
    ) As Boolean
    public static bool TryParse( 
       string value,
       out PgSqlNumeric numeric
    )

    Parameters

    value
    A string that contains a number to convert.
    numeric
    If the conversion was successful, this parameter contains the resulting PgSqlNumeric value; otherwise, it contains PgSqlNumeric.Null.

    Return Value

    True if the string was converted successfully; otherwise, false.
    See Also