Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

CsvProfiles

Namespace OfficeIMO.CSV
Assembly OfficeIMO.CSV
Modifiers static

Creates independent, editable options for common CSV workflows.

Inheritance

  • Object
  • CsvProfiles

Methods

public static CsvLoadOptions CreateLoadOptions(CsvProfile profile) #
Returns: CsvLoadOptions

Creates load options. Strict uses fixed UTF-8 with invalid-byte rejection, literal comment rows, strict quoting and column counts, duplicate-header rejection and redacted mapping failures. Spreadsheet detects delimiters and BOM encodings, keeps strict quoting and counts, and repairs missing or duplicate headers. Compatibility retains existing defaults.

Parameters

profile OfficeIMO.CSV.CsvProfile requiredposition: 0
public static CsvSaveOptions CreateSaveOptions(CsvProfile profile) #
Returns: CsvSaveOptions

Creates save options. Strict writes UTF-8 without BOM and CRLF while preserving values. Spreadsheet writes UTF-8 with BOM and CRLF and prefixes formula-like text with an apostrophe. Compatibility retains existing defaults. TextWriter and string output have no byte encoding; the encoding applies to file and stream output.

Parameters

profile OfficeIMO.CSV.CsvProfile requiredposition: 0