Редагувати

Поділитися через


SqlDataReader.IDataRecord.GetData(Int32) Method

Definition

Returns an IDataReader for the specified column ordinal.

 virtual System::Data::IDataReader ^ System.Data.IDataRecord.GetData(int i) = System::Data::IDataRecord::GetData;
System.Data.IDataReader IDataRecord.GetData (int i);
override this.System.Data.IDataRecord.GetData : int -> System.Data.IDataReader
Function GetData (i As Integer) As IDataReader Implements IDataRecord.GetData

Parameters

i
Int32

A column ordinal.

Returns

The IDataReader instance for the specified column ordinal.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the SqlDataReader instance is cast to an IDataRecord interface.

Applies to

See also