Npgsql API Documentation |

# NpgsqlDataReader.GetOrdinal Method

[This is preliminary documentation and subject to change.]

Return the column name of the column named .

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

#### Implements

IDataRecord.GetOrdinal

#### See Also

NpgsqlDataReader Class | Npgsql Namespace