IDataRecord.GetData(int ordinal) Method

Syntax:

IDataReader IDataRecord.GetData(int ordinal)

Description:

Gets the value of the specified column as an IDataReader, when the column contains structured data.

This method is an explicit interface member implementation and can only be used when the RdmDataReader instance is cast to an IDataReader interface.

Parameters:

ordinal

Type: System.Int32

The zero-base column ordinal

Return Value:

Type: System.Data.IDataReader

The value of the specified column.

Exceptions:

Exception Condition
InvalidOperationException The RdmDataReader is closed or there is no current row.

Reference:

For more information, reference MSDN documentation for: System.Data.IDataRecord.GetData