Firebird ADO.NET Provider SDK Documentation - v1.7

FbDataReader.GetBoolean Method 

Gets the value of the specified column as a Boolean.

[Visual Basic]
NotOverridable Public Function GetBoolean( _
   ByVal i As Integer _
) As Boolean _
    Implements IDataRecord.GetBoolean
[C#]
public bool GetBoolean(
   int i
);

Parameters

i
The zero-based column ordinal.

Return Value

A Boolean that is the value of the column.

Implements

IDataRecord.GetBoolean

Remarks

Call IsDBNull to check for null values before calling this method.

Exceptions

Exception Type Condition
InvalidCastException The specified cast is not valid.

See Also

FbDataReader Class | FirebirdSql.Data.Firebird Namespace