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

In This Topic
GetFieldType Method (OracleArrayDataReader)
In This Topic
If the array consists of OBJECT TYPE elements, gets the System.Type that is the data type of the specified property of the current array element, otherwise, the System.Type that is the data type of the current array element.
Syntax
'Declaration
 
Public Function GetFieldType( _
   ByVal i As Integer _
) As Type
 

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 System.Type that is the data type of the current array element property, having the specified index, if the array consists of OBJECT TYPE elements as a single character. Otherwise, the System.Type that is the data type of the current array element as a single character.
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