通过


EntityDataReader.GetValue(Int32) 方法

定义

获取指定列作为实例的值 Object

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

参数

ordinal
Int32

从零开始的列序号。

返回

指定列的值。

实现

适用于