dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleArrayDataReader Class / GetValues Method
An array of System.Object into which to copy the current array element properties.

In This Topic
    GetValues Method (OracleArrayDataReader)
    In This Topic
    Gets OBJECT TYPE properties of the current array element, if the array consists of the OBJECT TYPE elements. Otherwise, gets current array element as a single value.
    Syntax
    'Declaration
     
    Public Function GetValues( _
       ByVal values() As Object _
    ) As Integer
    public int GetValues( 
       object[] values
    )

    Parameters

    values
    An array of System.Object into which to copy the current array element properties.

    Return Value

    The number of returned instances of System.Object in the array.
    Remarks
    For most applications, the OracleArrayDataReader.GetValues method provides an efficient way for retrieving all properties, rather than retrieving each property individually.

    You can pass an System.Object array that contains fewer than the number of columns contained in the resulting row. Only the amount of data the System.Object array holds is copied to the array. You can also pass an System.Object array whose length is more than the number of columns contained in the resulting row.

    This method returns System.DBNull for null database columns.

    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