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

In This Topic
TryParse(String,String,OracleDate) Method
In This Topic
Converts the string representation of a date to OracleDate.
Syntax
'Declaration
 
Public Overloads Shared Function TryParse( _
   ByVal value As String, _
   ByVal format As String, _
   ByRef result As OracleDate _
) As Boolean
 

Parameters

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

Return Value

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