SqlDataReader.IDataRecord.GetData Method (Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

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: