SqlDataRecord.IDataRecord.GetData(Int32) SqlDataRecord.IDataRecord.GetData(Int32) SqlDataRecord.IDataRecord.GetData(Int32) Method

定义

在此版本中不受支持。Not supported in this release.

 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 Int32 Int32

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

返回

IDataReader

将始终引发异常。Always throws an exception.

实现

异常

ordinal 小于 0 或大于列数(即 FieldCount)。The ordinal is less than 0 or greater than the number of columns (that is, FieldCount).

注解

此版本不支持此方法, 并在调用时NotSupportedException引发。This method is not supported in this release, and throws NotSupportedException if called.

适用于