EmptyLineBehavior

Ecng.IO

Determines how empty lines are interpreted when reading CSV files. These values do not affect empty lines that occur within quoted fields or empty lines that appear at the end of the input file.

フィールド

EmptyColumn
public const EmptyLineBehavior EmptyColumn
value = EmptyLineBehavior.EmptyColumn

Empty lines are interpreted as a line with a single empty column.

EndOfFile
public const EmptyLineBehavior EndOfFile
value = EmptyLineBehavior.EndOfFile

An empty line is interpreted as the end of the input file.

Ignore
public const EmptyLineBehavior Ignore
value = EmptyLineBehavior.Ignore

Empty lines are skipped over as though they did not exist.

NoColumns
public const EmptyLineBehavior NoColumns
value = EmptyLineBehavior.NoColumns

Empty lines are interpreted as a line with zero columns.