DetectColumnCountChangesAttribute Class
A value indicating whether changes in the column count should be detected. If , a BadDataException will be thrown if a different column count is detected.
Namespace
CsvHelper.Configuration.Attributes
Interfaces
Base Types
  • Attribute
graph BT Type-->Base0["Attribute"] Type-.->Interface0["IClassMapper"] click Interface0 "/CsvHelper/api/CsvHelper.Configuration.Attributes/IClassMapper" Type["DetectColumnCountChangesAttribute"] class Type type-node

Syntax

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class DetectColumnCountChangesAttribute : Attribute, IClassMapper

Attributes

Type Description
AttributeUsage

Constructors

Name Summary
DetectColumnCountChangesAttribute(bool) A value indicating whether changes in the column count should be detected. If , a BadDataException will be thrown if a different column count is detected.

Properties

Name Property Type Summary
DetectColumnCountChanges bool
A value indicating whether changes in the column count should be detected. If , a BadDataException will be thrown if a different column count is detected.

Methods

Name Return Value Summary
ApplyTo(CsvConfiguration) void
Applies configuration.