DbDataReader.GetValues(Object[]) Method

Definition

When overridden in a derived class, populates an array of objects with the column values of the current row.

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

Parameters

values
Object[]

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

Returns

The number of instances of Object in the array.

Implements

Applies to

See also