Bewerken

Delen via


OracleDataReader.GetOracleValues(Object[]) Method

Definition

Gets all the attribute columns in the current row in Oracle format.

public:
 int GetOracleValues(cli::array <System::Object ^> ^ values);
public int GetOracleValues (object[] values);
member this.GetOracleValues : obj[] -> int
Public Function GetOracleValues (values As Object()) As Integer

Parameters

values
Object[]

An array of type Object into which to copy the attribute columns.

Returns

The number of instances of Object in the array.

Remarks

For most applications, the GetOracleValues method provides an efficient means for retrieving all columns, rather than retrieving each column individually.

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

This method returns DBNull for null database columns.

Applies to