DataReaderGetOrdinal Method TIBCO Spotfire 7.6 API Reference
Return the index of the named column.

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

C#
public virtual int GetOrdinal(
	string columnName
)

Parameters

columnName
Type: SystemString
The column name.

Return Value

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

ExceptionCondition
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.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference