GetUInt16 method

Returns the value of the specified column as a 16-bit unsigned integer.

Syntax
Visual Basic

Public Function GetUInt16( _
   ByVal ordinal As Integer _
) As UInt16
C#

public ushort GetUInt16(
   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 specified column.

Remarks

No conversions are performed, so the data retrieved must already be a 16-bit unsigned integer.

See also