dotConnect for Dynamics 365 Documentation
Devart.Common Namespace / DbDataReaderBase Class / GetValues Method
An array of System.Object into which to copy the attribute columns.

GetValues Method
Gets all attribute columns in the collection for the current row.
Syntax
'Declaration
 
Public Overrides Function GetValues( _
   ByVal values() As Object _
) As Integer
 

Parameters

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

Return Value

The number of instances of System.Object in the array.
Remarks
For most applications, the GetValues method provides an efficient means for retrieving all columns, rather than retrieving each column 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 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