MySQL Connector/Net |
MySqlDataReader..::.GetOrdinal Method |
MySqlDataReader Class See Also Send Feedback |
Gets the column ordinal, given the name of the column.
Namespace:
MySql.Data.MySqlClient
Assembly:
MySql.Data (in MySql.Data.dll) Version: 6.2.2.0
Syntax
C# |
---|
public override int GetOrdinal( string name ) |
Visual Basic (Declaration) |
---|
Public Overrides Function GetOrdinal ( _ name As String _ ) As Integer |
Visual C++ |
---|
public: virtual int GetOrdinal( String^ name ) override |
Parameters
- name
- Type: System..::.String
Return Value
Implements
IDataRecord..::.GetOrdinal(String)IDataRecord..::.GetOrdinal(String)