GetUInt16 method

Returns the value for the specified column as a System.UInt16.

Syntax
Visual Basic
Public Function GetUInt16( _
   ByVal columnID As Integer _
) As UInt16
C#
public ushort GetUInt16(
   int columnID
);
Parameters
  • columnID   The ID number of the column. The value must be in the range [0,ULDataReader.FieldCount-1]. The first column in the cursor has an ID value of zero.

Return value

The column value as an System.UInt16.

See also