Click or drag to resize
CqlReaderGetBoolean Method
Gets the value of the specified column as a Boolean.

Namespace: Cassandra.Data
Assembly: Cassandra (in Cassandra.dll) Version: 3.0.9 (git 5ca22bb)
Syntax
C#
public override bool GetBoolean(
	int ordinal
)

Parameters

ordinal
Type: SystemInt32
The zero-based column ordinal.

Return Value

Type: Boolean
The value of the specified column.

Implements

IDataRecordGetBoolean(Int32)
Exceptions
ExceptionCondition
InvalidCastExceptionThe specified cast is not valid.
IndexOutOfRangeExceptionThe index passed was outside the range of 0 through FieldCount.
See Also