DbDataReader.GetData(Int32) DbDataReader.GetData(Int32) DbDataReader.GetData(Int32) DbDataReader.GetData(Int32) Method

定义

返回所请求列的嵌套数据读取器。Returns a nested data reader for the requested column.

public:
 System::Data::Common::DbDataReader ^ GetData(int ordinal);
public System.Data.Common.DbDataReader GetData (int ordinal);
member this.GetData : int -> System.Data.Common.DbDataReader
Public Function GetData (ordinal As Integer) As DbDataReader

参数

ordinal
Int32 Int32 Int32 Int32

从零开始的列序号。The zero-based column ordinal.

返回

数据读取器。A data reader.

异常

适用于

另请参阅