GetBoolean method

Description

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.