Export (0) Print
Expand All

SqlDataReader.IDataRecord.GetData Method

Returns an IDataReader for the specified column ordinal.

Namespace:  System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

IDataReader IDataRecord.GetData(
	int i
)

Parameters

i
Type: System.Int32

A column ordinal.

Return Value

Type: System.Data.IDataReader
The IDataReader instance for the specified column ordinal.

Implements

IDataRecord.GetData(Int32)

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft