SphinxQLDataReaderGetValue(String) 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 Object GetValue(
	string name
)

Parameters

name  String
The name of the column.

Return Value

Object
The value of the specified column.

Exceptions

IndexOutOfRangeExceptionThe name specified is not a valid column name.
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