Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Enum

DocumentPersistenceMode

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

Controls when changes are written to associated storage.

Inheritance

  • Enum
  • DocumentPersistenceMode

Usage

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

Values

public const DocumentPersistenceMode Explicit #

Changes are written only by an explicit save operation.

Value: 0
public const DocumentPersistenceMode SaveOnDispose #

Changes are written during disposal and persistence failures are propagated.

Value: 1