API Reference

Enum

CsvFormulaInjectionPolicy

Namespace OfficeIMO.CSV
Assembly OfficeIMO.CSV
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Controls how CSV serialization treats values that spreadsheet applications may interpret as formulas.

Inheritance

  • Enum
  • CsvFormulaInjectionPolicy

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Values

public const CsvFormulaInjectionPolicy Preserve #

Preserve values exactly as supplied.

Value: 0
public const CsvFormulaInjectionPolicy Escape #

Prefix formula-like values with an apostrophe before writing them.

Value: 1