语言

OracleDataReader.GetByte(Int32) 方法

定义

获取指定列作为字节的值。

public:
 virtual System::Byte GetByte(int i);
public:
 override System::Byte GetByte(int i);
public byte GetByte(int i);
public override byte GetByte(int i);
abstract member GetByte : int -> byte
override this.GetByte : int -> byte
override this.GetByte : int -> byte
Public Function GetByte (i As Integer) As Byte
Public Overrides Function GetByte (i As Integer) As Byte

参数

i
Int32

从零开始的列序号。

返回

指定列的值作为字节。

实现

例外

指定的强制转换无效。

注解

调用 IsDBNull 以在调用此方法之前检查 null 值。

适用于