API Reference

Enum

CsvDuplicateHeaderBehavior

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

Controls how duplicate CSV header names are handled when parsing input.

Inheritance

  • Enum
  • CsvDuplicateHeaderBehavior

Usage

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

Values

public const CsvDuplicateHeaderBehavior Preserve #

Preserve duplicate header names exactly as they appear in the CSV source.

Value: 0
public const CsvDuplicateHeaderBehavior Rename #

Rename duplicate header names by appending a numeric suffix such as _2.

Value: 1
public const CsvDuplicateHeaderBehavior Throw #

Throw a CsvException when a duplicate header name is encountered.

Value: 2