Redigera

Dela via


OracleDataReader.GetOracleTimeSpan(Int32) Method

Definition

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

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

Parameters

i
Int32

The zero-based column ordinal.

Returns

The value of the specified column as an OracleTimeSpan object.

Exceptions

The specified cast is not valid.

Remarks

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

Applies to