CsvReader..::..CopyCurrentRecordTo Method (array<String>[]()[][])

Copies the field array of the current record to a one-dimensional array, starting at the beginning of the target array.

Namespace:  LumenWorks.Framework.IO.Csv
Assembly:  LumenWorks.Framework.IO (in LumenWorks.Framework.IO.dll)

Syntax


public void CopyCurrentRecordTo(
	string[] array
)
Public Sub CopyCurrentRecordTo ( _
	array As String() _
)
public:
void CopyCurrentRecordTo(
	array<String^>^ array
)

Parameters

array
Type: array<String>[]()[][]
The one-dimensional Array that is the destination of the fields of the current record.

Exceptions


ExceptionCondition
ArgumentNullExceptionarray is nullNothingnullptra null reference (Nothing in Visual Basic).
ArgumentException The number of fields in the record is greater than the available space from index to the end of array.