SqlDataReader.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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.