API Reference

Enum

CsvColumnCountMismatchPolicy

Namespace OfficeIMO.CSV
Assembly OfficeIMO.CSV
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Controls how parsed CSV records are aligned when the record field count differs from the header count.

Inheritance

  • Enum
  • CsvColumnCountMismatchPolicy

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Values

public const CsvColumnCountMismatchPolicy Strict #

Throw when a parsed record has fewer or more fields than the header.

Value: 0
public const CsvColumnCountMismatchPolicy PadMissingFieldsAndIgnoreExtraFields #

Pad missing fields with empty values and ignore fields beyond the header.

Value: 1