Click or drag to resize
Accord.NET (logo)

CsvReaderReadNextRecord Method (Boolean, Boolean)

Reads the next record.

Namespace:  Accord.IO
Assembly:  Accord.IO (in Accord.IO.dll) Version: 3.8.0
Syntax
protected virtual bool ReadNextRecord(
	bool onlyReadHeaders,
	bool skipToNextLine
)
Request Example View Source

Parameters

onlyReadHeaders
Type: SystemBoolean
Indicates if the reader will proceed to the next record after having read headers. if it stops after having read headers; otherwise, .
skipToNextLine
Type: SystemBoolean
Indicates if the reader will skip directly to the next line without parsing the current one. To be used when an error occurs.

Return Value

Type: Boolean
if a record has been successfully reads; otherwise, .
Exceptions
ExceptionCondition
ObjectDisposedException The instance has been disposed of.
See Also