[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = false)]
public sealed class CsvRecordAttribute : Attribute
Namespace
CsvHelper
Assembly
CsvHelper.dll
Inheritance
object Attribute CsvRecordAttribute
Builds
net10.0 netstandard2.1 netstandard2.0 net47

Remarks

Public and internal settable properties and fields are mapped, and the parameters of the constructor (the one marked CsvConstructorAttribute, else the parameterless one, else the one with the most parameters). A member reads the header column with its name (exact match first, then ignoring case and surrounding whitespace) unless CsvColumnAttribute says otherwise.

Constructors