GetBoolean Method

Gets the value of the specified column as a Boolean.

Syntax

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.

Implements

IDataRecord.GetBoolean

Usage

No conversions are performed. Use this method to retrieve data from columns of type bit.