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

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

Parameters

value
A string, containing a timestamp to convert.
format
The timestamp format to use for conversion.
timeStampType
The type of the Oracle TIMESTAMP.
result
If the conversion was successful, this parameter contains the result OracleTimeStamp value; otherwise it contains MinValue.

Return Value

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