OracleDataReader.GetProviderSpecificValues(Object[]) Method

Definition

Gets an array of objects that are a representation of the underlying provider specific values.

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

Parameters

values
Object[]

An array of Object.

Returns

The number of instances of Object in the array.

Remarks

For most applications, the GetProviderSpecificValues 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