dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleArrayDataReader Class / GetData Method
Zero-based ordinal of the OBJECT TYPE property. Ignored when array consists of elements with type other than OBJECT TYPE.

In This Topic
GetData Method
In This Topic
If the array consists of OBJECT TYPE elements, gets nested DataReader for the specified property of the current current array element, otherwise, gets the name of the source data type.
Syntax
'Declaration
 
Public Function GetData( _
   ByVal i As Integer _
) As IDataReader
 

Parameters

i
Zero-based ordinal of the OBJECT TYPE property. Ignored when array consists of elements with type other than OBJECT TYPE.

Return Value

The name of the source data type of the current array element property, having the specified index, if the array consists of OBJECT TYPE elements. Otherwise, the name of the source data type of the current array element.
Remarks
If the array consists of OBJECT TYPE elements and i is equal or more than FieldCount, or it is less than zero, System.ArgumentOutOfRangeException is thrown.
See Also