SqlDataRecord.IDataRecord.GetData(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.