DataReader GetOrdinal Method TIBCO Spotfire 6.0 API Reference
Return the index of the named column.

Namespace: Spotfire.Dxp.Data
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 13.19.7018.3940 (13.19.7018.3940)
Syntax

public virtual int GetOrdinal(
	string columnName
)

Parameters

columnName
Type: System String
The column name.

Return Value

Type: Int32
The index of the named column, or -1 if no such column.
Exceptions

ExceptionCondition
System ArgumentNullExceptioncolumnName is null.
Remarks

Overrides of this method should not throw exceptions other than ArgumentNullException. In cases of error -1 should be returned.
See Also