CqlReaderGetOrdinal Method |
Gets the column ordinal given the name of the column.
Namespace: Cassandra.DataAssembly: Cassandra (in Cassandra.dll) Version: 3.0.9 (git 5ca22bb)
Syntax public override int GetOrdinal(
string name
)
Parameters
- name
- Type: SystemString
The name of the column.
Return Value
Type:
Int32The zero-based column ordinal.
Implements
IDataRecordGetOrdinal(String)Exceptions Exception | Condition |
---|
IndexOutOfRangeException | The name specified is not a valid column name. |
See Also