Enum
CsvDuplicateHeaderBehavior
OfficeIMO.CSV
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.
Returned or exposed by 5
Inherited Methods
ToString 4 overloads
public string ToString(IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider?
Returns
stringpublic string ToString(string? format, IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format string?
- provider IFormatProvider?
Returns
stringValues
public const CsvDuplicateHeaderBehavior Preserve #Preserve duplicate header names exactly as they appear in the CSV source.
Value:
0public const CsvDuplicateHeaderBehavior Rename #Rename duplicate header names by appending a numeric suffix such as _2.
Value:
1public const CsvDuplicateHeaderBehavior Throw #Throw a CsvException when a duplicate header name is encountered.
Value:
2