DbDataReader.IDataRecord.GetData(Int32) 方法

定义

有关此成员的说明,请参见 GetData(Int32)For a description of this member, see GetData(Int32).

 virtual System::Data::IDataReader ^ System.Data.IDataRecord.GetData(int ordinal) = System::Data::IDataRecord::GetData;
System.Data.IDataReader IDataRecord.GetData (int ordinal);
Function GetData (ordinal As Integer) As IDataReader Implements IDataRecord.GetData

参数

ordinal
Int32

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

返回

在字段指向更多的远程结构化数据时使用的 IDataReader 的实例。An instance of IDataReader to be used when the field points to more remote structured data.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 DbDataReader 实例被强制转换为 IDataRecord 接口时使用。It can be used only when the DbDataReader instance is cast to an IDataRecord interface.

适用于

另请参阅