GetValues(Object[]) Method
Syntax:
public int GetValues(Object[] values)
Description:
Populates an array of objects with the column values of the current row
Parameters:
values
Type: System.Object
An array of Object into which to copy the column values
Return Value:
Type: System.Int32
The number of instances of Object in the array.
Exceptions:
Exception | Condition |
---|---|
InvalidOperationException | The RdmDataReader is closed or there is no current row. |
Reference:
For more information, reference MSDN documentation for: System.Data.Common.DbDataReader.GetValues