DelimitedWriterOptions Struct
Definition
- Assembly
- Bodu.Text.Delimited.dll
- Package
- Bodu.Text.Delimited 1.0.0
Provides configuration for a Utf8DelimitedWriter, controlling the delimiter, quote character, and whether a header row is emitted for object records.
public readonly struct DelimitedWriterOptions
- Inherited Members
- Extension Methods
Remarks
The options are an immutable value type; the delimiter and quote fall back to their RFC 4180 defaults (','
and '"') when left unset.
Properties
Default
Gets the default writer options (comma delimiter, double-quote quoting, header row emitted).
public static DelimitedWriterOptions Default { get; }
Property Value
- DelimitedWriterOptions
The default options.
Delimiter
Gets the field delimiter, or '\0' to use the default comma.
public char Delimiter { get; init; }
Property Value
- char
The delimiter character.
NoHeader
Gets a value indicating whether the header row is suppressed for object records.
public bool NoHeader { get; init; }
Property Value
Quote
Gets the quote character, or '\0' to use the default double quote.
public char Quote { get; init; }
Property Value
- char
The quote character.
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |