Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SqlDataReader::IDataRecord::GetData Method (Int32)

 

Returns an IDataReader for the specified column ordinal.

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

private:
virtual IDataReader^ GetData(
	int i
) sealed = IDataRecord::GetData

Parameters

i
Type: System::Int32

A column ordinal.

Return Value

Type: System.Data::IDataReader^

The IDataReader instance for the specified column ordinal.

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

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft