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

In This Topic
    GetInt32 Method (OracleArrayDataReader)
    In This Topic
    If the array consists of OBJECT TYPE elements, gets the value of the specified property of the current array element, as a 32-bit signed integer, otherwise, gets the value of the current array element as a 32-bit signed integer.
    Syntax
    'Declaration
     
    Public Function GetInt32( _
       ByVal i As Integer _
    ) As Integer
    public int GetInt32( 
       int i
    )

    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 value of the current array element property, having the specified index, if the array consists of OBJECT TYPE elements as a 32-bit signed integer. Otherwise, the value of the current array element as a 32-bit signed integer.
    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.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also