OracleDataReader.GetTimeSpan(Int32) メソッド
定義
指定した列の値を System.TimeSpan
として取得します。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
パラメーター
- i
- Int32
0 から始まる列序数。The zero-based column ordinal.
戻り値
TimeSpan として指定された列の値。The value of the specified column as a TimeSpan.
例外
指定したキャストが有効ではありません。The specified cast is not valid.
注釈
IsDBNullこのメソッドを呼び出す前に、を呼び出して null 値を確認してください。Call IsDBNull to check for null values before calling this method.