This documentation is archived and is not being maintained.

IDataRecord.GetData Method

Gets an IDataReader to be used when the field points to more remote structured data.

[Visual Basic]
Function GetData( _
   ByVal i As Integer _
) As IDataReader
[C#]
IDataReader GetData(
   int i
);
[C++]
IDataReader* GetData(
   int i
);
[JScript]
function GetData(
   i : int
) : IDataReader;

Parameters

i
The index of the field to find.

Return Value

An IDataReader to be used when the field points to more remote structured data.

Exceptions

Exception Type Condition
IndexOutOfRangeException The index passed was outside the range of 0 through FieldCount.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

IDataRecord Interface | IDataRecord Members | System.Data Namespace

Show: