ערוך

שתף באמצעות


OracleDataReader.GetTimeSpan(Int32) Method

Definition

Gets the value of the specified column as a System.TimeSpan.

public:
 TimeSpan GetTimeSpan(int i);
public TimeSpan GetTimeSpan (int i);
member this.GetTimeSpan : int -> TimeSpan
Public Function GetTimeSpan (i As Integer) As TimeSpan

Parameters

i
Int32

The zero-based column ordinal.

Returns

The value of the specified column as a TimeSpan.

Exceptions

The specified cast is not valid.

Remarks

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

Applies to