Table of Contents

Class CsvReaderOptions

Namespace
NuvTools.Report.Sheet.Csv
Assembly
NuvTools.Report.dll

Options that control CSV reading behavior. Values here override attribute-level settings.

public sealed class CsvReaderOptions
Inheritance
CsvReaderOptions
Inherited Members

Properties

CustomDelimiter

Gets or sets a custom delimiter string. Required when Delimiter is Custom.

public string? CustomDelimiter { get; set; }

Property Value

string

Delimiter

Gets or sets the delimiter. When set, overrides the CsvRecordAttribute value.

public CsvDelimiter? Delimiter { get; set; }

Property Value

CsvDelimiter?

Encoding

Gets or sets the encoding used to decode byte/base64 input. Defaults to UTF8.

public Encoding Encoding { get; set; }

Property Value

Encoding

HandleQuotedFields

Gets or sets whether to handle RFC 4180 quoted fields. Defaults to true.

public bool HandleQuotedFields { get; set; }

Property Value

bool

IgnoreEmptyLines

Gets or sets whether to ignore empty lines. Defaults to true.

public bool IgnoreEmptyLines { get; set; }

Property Value

bool

SkipHeader

Gets or sets whether to skip the first row (header). Defaults to false.

public bool SkipHeader { get; set; }

Property Value

bool