OracleDataReader.GetOracleDateTime(Int32) Method

Definition

Gets the value of the specified column as an OracleDateTime object.

public:
 System::Data::OracleClient::OracleDateTime GetOracleDateTime(int i);
public System.Data.OracleClient.OracleDateTime GetOracleDateTime (int i);
member this.GetOracleDateTime : int -> System.Data.OracleClient.OracleDateTime
Public Function GetOracleDateTime (i As Integer) As OracleDateTime

Parameters

i
Int32

The zero-based column ordinal.

Returns

OracleDateTime

The value of the specified column as an OracleDateTime object.

Exceptions

The specified cast is not valid.

Remarks

Call IsDBNull to check for null values before calling this method.

Applies to