語言

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 空值。

適用於