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

Namespace: Spotfire.Dxp.Data
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 14.10.7525.5058 (14.10.7525.5058)
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: 6.5, 6.0, 5.5, 5.0, 4.5
See Also