Share via


SqlDataRecord.IDataRecord.GetData(Int32) Method

Definition

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);
abstract member System.Data.IDataRecord.GetData : int -> System.Data.IDataReader
override this.System.Data.IDataRecord.GetData : int -> System.Data.IDataReader
Function GetData (ordinal As Integer) As IDataReader Implements IDataRecord.GetData

Parameters

ordinal
Int32

The zero-based ordinal of the column.

Returns

IDataReader

Always throws an exception.

Implements

Exceptions

The ordinal is less than 0 or greater than the number of columns (that is, FieldCount).

Remarks

This method is not supported in this release, and throws NotSupportedException if called.

Applies to