Bewerken

Delen via


IDataRecord.GetByte(Int32) Method

Definition

Gets the 8-bit unsigned integer value of the specified column.

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

Parameters

i
Int32

The zero-based column ordinal.

Returns

The 8-bit unsigned integer value of the specified column.

Exceptions

The index passed was outside the range of 0 through FieldCount.

Applies to