|
CsvReaderCopyCurrentRecordTo Method (String, Int32)
|
Copies the field array of the current record to a one-dimensional array, starting at the beginning of the target array.
Namespace:
Accord.IO
Assembly:
Accord.IO (in Accord.IO.dll) Version: 3.8.0
Syntax public void CopyCurrentRecordTo(
string[] array,
int index
)
Public Sub CopyCurrentRecordTo (
array As String(),
index As Integer
)
Request Example
View SourceParameters
- array
- Type: SystemString
The one-dimensional Array that is the destination of the fields of the current record. - index
- Type: SystemInt32
The zero-based index in array at which copying begins.
Exceptions Exception | Condition |
---|
ArgumentNullException | array is .
|
ArgumentOutOfRangeException | index is les than zero or is equal to or greater than the length array.
|
InvalidOperationException |
No current record.
|
ArgumentException |
The number of fields in the record is greater than the available space from index to the end of array.
|
See Also