Click or drag to resize
CqlReaderGetOrdinal Method
Gets the column ordinal given the name of the column.

Namespace: Cassandra.Data
Assembly: Cassandra (in Cassandra.dll) Version: 3.0.9 (git 5ca22bb)
Syntax
C#
public override int GetOrdinal(
	string name
)

Parameters

name
Type: SystemString
The name of the column.

Return Value

Type: Int32
The zero-based column ordinal.

Implements

IDataRecordGetOrdinal(String)
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionThe name specified is not a valid column name.
See Also