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

In This Topic
    GetOracleMonthSpan 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 an OracleMonthSpan object, otherwise, gets the value of the current array element as an OracleMonthSpan object.
    Syntax
    'Declaration
     
    Public Function GetOracleMonthSpan( _
       ByVal i As Integer _
    ) As OracleMonthSpan
    public OracleMonthSpan GetOracleMonthSpan( 
       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 an OracleMonthSpan object. Otherwise, the value of the current array element as an OracleMonthSpan object.
    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