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

从零开始的列序号。

返回

要返回的值。

实现

注解

此方法 DBNull 返回 null 数据库列。

适用于

另请参阅