dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleNumber Structure / TryParse Method / TryParse(String,String,OracleNumber) Method
A string, containing a number to convert.
The number format to use for conversion.
If the conversion was successful, this parameter contains the result OracleNumber value; otherwise it contains Zero.

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

    Parameters

    value
    A string, containing a number to convert.
    format
    The number format to use for conversion.
    result
    If the conversion was successful, this parameter contains the result OracleNumber value; otherwise it contains Zero.

    Return Value

    true if the string was converted successfully; otherwise, false.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also