DbDataRecord.GetOrdinal(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the column ordinal, given the name of the column.
public:
abstract int GetOrdinal(System::String ^ name);
public:
virtual int GetOrdinal(System::String ^ name);
public abstract int GetOrdinal (string name);
public int GetOrdinal (string name);
abstract member GetOrdinal : string -> int
abstract member GetOrdinal : string -> int
override this.GetOrdinal : string -> int
Public MustOverride Function GetOrdinal (name As String) As Integer
Public Function GetOrdinal (name As String) As Integer
Parameters
- name
- String
The name of the column.
Returns
The column ordinal.
Implements
Applies to
See also
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.