CqlReaderGetOrdinal Method |
Gets the column ordinal given the name of the column.
Namespace:
Cassandra.Data
Assembly:
Cassandra (in Cassandra.dll) Version: 3.11.0
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