Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Enum

CsvDuplicateHeaderBehavior

OfficeIMO.CSV

Namespace
OfficeIMO.CSV
Assembly
OfficeIMO.CSV
Source revision
7fbbd72e7c5a with working tree changes
Base
Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers
sealed

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

Inheritance

  • Enum
  • CsvDuplicateHeaderBehavior

Usage

Explore 5 API references to this type

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