EntityDataReader.GetName(Int32) 方法

定義

在已知以零為基底的資料行序數的情況下,取得資料行的名稱。

public:
 override System::String ^ GetName(int ordinal);
public override string GetName (int ordinal);
override this.GetName : int -> string
Public Overrides Function GetName (ordinal As Integer) As String

參數

ordinal
Int32

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

傳回

指定資料行的名稱。

實作

適用於