Advanced.Data.Provider Documentation

AdpDataReader.GetOrdinal Method 

[This is preliminary documentation and subject to change.]

Return the index of the named field.

[Visual Basic]
NotOverridable Public Function GetOrdinal( _
   ByVal name As String _
) As Integer Implements _
   IDataRecord.GetOrdinal
[C#]
public int GetOrdinal(
   string name
);

Parameters

name
The name of the field to find.

Return Value

The index of the named field.

Implements

IDataRecord.GetOrdinal

See Also

AdpDataReader Class | Advanced.Data.Provider Namespace