OracleDataReader.GetDateTime(Int32) メソッド
定義
指定された列の値を DateTime
オブジェクトとして取得します。Gets the value of the specified column as a DateTime
object.
public:
virtual DateTime GetDateTime(int i);
public:
override DateTime GetDateTime(int i);
public DateTime GetDateTime (int i);
public override DateTime GetDateTime (int i);
abstract member GetDateTime : int -> DateTime
override this.GetDateTime : int -> DateTime
override this.GetDateTime : int -> DateTime
Public Function GetDateTime (i As Integer) As DateTime
Public Overrides Function GetDateTime (i As Integer) As DateTime
パラメーター
- i
- Int32
0 から始まる列序数。The zero-based column ordinal.
戻り値
指定した列の DateTime
オブジェクトとしての値。The value of the specified column as a DateTime
object.
実装
例外
指定したキャストが有効ではありません。The specified cast is not valid.
注釈
IsDBNullこのメソッドを呼び出す前に、を呼び出して null 値を確認してください。Call IsDBNull to check for null values before calling this method.