SaveDocumentOption Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |