OracleDataReader.GetDateTime(Int32) Метод

Определение

Возвращает значение указанного столбца в виде объекта DateTime.

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

Порядковый номер столбца (от нуля).

Возвращаемое значение

Значение заданного столбца в виде объекта DateTime.

Реализации

Исключения

Указанное приведение недопустимо.

Комментарии

Вызовите IsDBNull проверка для значений NULL перед вызовом этого метода.

Применяется к