Click or drag to resize

CqlReaderGetOrdinal Method

Gets the column ordinal given the name of the column.

Namespace:  Dse.Data
Assembly:  Dse (in Dse.dll) Version: 2.6.0
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