DelimitedTextSaveOptions

DelimitedTextSaveOptions class

Contains options for generating and saving text-based Spreadsheet documents (CSV, Tab-based etc.), that use a separator (delimiter)

public sealed class DelimitedTextSaveOptions : ISaveOptions

Constructors

Name Description
DelimitedTextSaveOptions() This parameterless constructor creates a new instance of DelimitedTextSaveOptions with a semicolon (;) default separator (can be modified then through Separator property)
DelimitedTextSaveOptions(string) Creates an instance of options class for delimited text with mandatory separator (delimiter)

Properties

Name Description
Encoding { get; set; } Allows to set an encoding for the text-based Spreadsheet document. By default (and if not specified) is UTF8.
KeepSeparatorsForBlankRow { get; set; } Indicates whether separators should be output for blank row. Default value is false which means the content for blank row will be empty.
Separator { get; set; } Allows to specify a string separator (delimiter) for text-based Spreadsheet documents
TrimLeadingBlankRowAndColumn { get; set; } Indicates whether leading blank rows and columns should be trimmed like what MS Excel does

Remarks

https://en.wikipedia.org/wiki/Delimiter-separated_values

See Also