Share via


SaveDocumentOption Enum

Definition

Options to control how documents are saved when they are closed.

public enum SaveDocumentOption
type SaveDocumentOption = 
Public Enum SaveDocumentOption
Inheritance
SaveDocumentOption

Fields

Name Value Description
NoSave 0

The document is not saved. Any unsaved changes are discarded.

SaveIfDirty 1

If the document has unsaved changes, they are saved without prompting before the document is closed.

PromptSave 2

If the document has unsaved changes, the user is prompted to save them before the document is closed.

Applies to