Gets the ordinal position of a column given the column name.
'Declaration
Public Overrides NotOverridable Function GetOrdinal( _
ByVal As String _
) As Integer
public override int GetOrdinal(
string
)
public function GetOrdinal(
: String
): Integer; override;
public override function GetOrdinal(
: String
) : int;
public: int GetOrdinal(
string*
) override
Parameters
- name
- Column name
Return Value
The zero-based column ordinal position.
.NET Framework
Version 2.0 or later