IDataRecord.GetByte(Int32) 方法

定義

取得指定欄位的 8 位元無符號整數值。

public:
 System::Byte GetByte(int i);
public byte GetByte(int i);
abstract member GetByte : int -> byte
Public Function GetByte (i As Integer) As Byte

參數

i
Int32

零基列序數。

傳回

指定欄位的 8 位元無符號整數值。

例外狀況

通過的指數超出0到 FieldCount範圍。

適用於