CsvBadDataKind Enum

Specifies the kind of malformed data reported to CsvReaderOptions.BadDataHandler.

public enum CsvBadDataKind

Fields

NameValueDescription
QuoteInUnquotedValue0A value that is not quoted contains a quote character, such as a"b.
CharactersAfterClosingQuote1The closing quote of a value is followed by characters that are not a separator or a line terminator, such as "a"b.
UnterminatedQuotedValue2A quoted value is not closed before the end of the data.
ColumnCountMismatch3The record does not have the expected number of columns. Only reported when CsvReaderOptions.ValidateColumnCount is true.