GetByte method

Returns the value of the specified column as a Byte.

Syntax
Visual Basic

Public Overrides Function GetByte( _
   ByVal ordinal As Integer _
) As Byte
C#

public override byte GetByte(
   int ordinal
);
Parameters
  • ordinal   An ordinal number indicating the column from which the value is obtained. The numbering is zero-based.

Return value

The value of the column.

Remarks

No conversions are performed, so the data retrieved must already be a byte.

See also