CsvFileHeaderLine Class
Definition
Namespace: DataStandardizer.File.CSV
A CSV header line. Each field value is a field name; FieldNames exposes those names in order.
Syntax
public sealed class CsvFileHeaderLine : CsvFileLineBase
Remarks
The reader returns a CsvFileHeaderLine for the first line when CsvFileOptions.HeaderHandling is Use; pass one to the writer to emit a header. Populate it with the public Add method inherited from CsvFileLineBase.
Properties
| Property | Signature | Notes |
|---|---|---|
FieldNames | IReadOnlyList<string> FieldNames { get; } | The field names, in order: the values of the line’s fields. A value that isn’t a string gives an empty name. |
Applies to
Targets netstandard1.1, netstandard2.0, netstandard2.1, and net10.0.