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
 

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.
See Also