OleDbDataReader.GetValue(Int32) 方法

定義

取得使用原生格式的指定序數的資料行值。

public:
 override System::Object ^ GetValue(int ordinal);
public:
 virtual System::Object ^ GetValue(int ordinal);
public override object GetValue (int ordinal);
public object GetValue (int ordinal);
override this.GetValue : int -> obj
abstract member GetValue : int -> obj
override this.GetValue : int -> obj
Public Overrides Function GetValue (ordinal As Integer) As Object
Public Function GetValue (ordinal As Integer) As Object

參數

ordinal
Int32

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

傳回

要傳回的值。

實作

備註

對於 null 資料庫資料行來說,這個方法會傳回 DBNull

適用於

另請參閱