Class CsvOptions
- Namespace
- WeihanLi.Npoi.Configurations
- Assembly
- WeihanLi.Npoi.dll
Represents the configurable behaviors of the CSV helper.
public sealed class CsvOptions
- Inheritance
-
CsvOptions
- Inherited Members
Constructors
CsvOptions()
Initializes options with default separator, quote, and encoding.
public CsvOptions()
Fields
Default
Provides a shared instance representing sensible defaults.
public static readonly CsvOptions Default
Field Value
Properties
Encoding
Gets or sets the encoding of the generated CSV.
public Encoding Encoding { get; set; }
Property Value
IncludeHeader
Gets or sets whether the header row should be emitted.
public bool IncludeHeader { get; set; }
Property Value
PropertyNameForBasicType
Gets or sets the synthetic property name to use for basic types.
public string PropertyNameForBasicType { get; set; }
Property Value
QuoteCharacter
Gets or sets the character used to wrap textual values.
public char QuoteCharacter { get; set; }
Property Value
QuoteString
Gets the quote character expressed as a string.
public string QuoteString { get; }
Property Value
SeparatorCharacter
Gets or sets the separator used between values.
public char SeparatorCharacter { get; set; }
Property Value
SeparatorString
Gets the separator character expressed as a string.
public string SeparatorString { get; }