SphinxQLDataReaderGetValue(Int32) Method

Gets the value of the specified column as an instance of Object.

Definition

Namespace: SphinxConnector.SphinxQL
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public override Object GetValue(
	int ordinal
)

Parameters

ordinal  Int32
The zero-based column ordinal.

Return Value

Object
The value of the specified column.

Implements

IDataRecordGetValue(Int32)

Exceptions

IndexOutOfRangeExceptionThe provided column index is out of range.
InvalidOperationExceptionThere are no rows are present either because Read hasn't been called or it returned false, or the statement didn't yield any results (HasRows is false)

See Also