GetBoolean method

Returns the value of the specified column as a Boolean.

Syntax
Visual Basic

Public Overrides Function GetBoolean( _
   ByVal ordinal As Integer _
) As Boolean
C#

public override bool GetBoolean(
   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 Boolean.

See also