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
Порядковый номер столбца (от нуля).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.