CqlReaderGetOrdinal Method |
Gets the column ordinal given the name of the column.
Namespace: Dse.DataAssembly: Dse (in Dse.dll) Version: 2.2.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