DbDataReader.GetName(Int32) 方法

定義

在衍生類別中覆寫時,取得資料行序數從零開始的資料行名稱。

public:
 abstract System::String ^ GetName(int ordinal);
public abstract string GetName (int ordinal);
abstract member GetName : int -> string
Public MustOverride Function GetName (ordinal As Integer) As String

參數

ordinal
Int32

以零為基底的資料行序數。

傳回

指定資料行的名稱。

實作

適用於

另請參閱