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

Namespace: Spotfire.Dxp.Data
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 18.10.8513.5432 (18.10.8513.5432)
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.
Version Information

Supported in: 7.0, 6.5, 6.0, 5.5, 5.0
See Also