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
    public static bool TryParse( 
       string value,
       string format,
       OracleDbType timeStampType,
       out OracleTimeStamp result
    )

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