DbDataRecord.GetByte(Int32) Method

Definition

Returns the value of the specified column as a byte.

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

Parameters

i
Int32

The column ordinal.

Returns

The value of the specified column.

Implements

Remarks

No conversions are performed; therefore the data retrieved must already be a byte.

Applies to

See also