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.

TryParse(String,String,OracleDate) Method
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.
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