Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Enum

CsvFormulaInjectionPolicy

OfficeIMO.CSV

Namespace
OfficeIMO.CSV
Assembly
OfficeIMO.CSV
Source revision
e163ccb36643 with working tree changes
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

Explore 3 API references to this type

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