Sphinx QLData ReaderGet Ordinal Method
Gets the column ordinal given the name of the column. This method
is case insensitive.
Definition
Namespace: SphinxConnector.SphinxQL
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
The zero-based column ordinal.
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public override int GetOrdinal(
string name
)VB
Public Overrides Function GetOrdinal (
name As String
) As IntegerParameters
- name String
- The name of the column.
Return Value
Int32The zero-based column ordinal.
Implements
IDataRecordGetOrdinal(String)Exceptions
| InvalidOperationException | |
| IndexOutOfRangeException | The name specified is not a valid column name. |