VsRdtSaveOptions Enumeration

 

Specifies save options for a document in the running document table (RDT).

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

[FlagsAttribute]
public enum VsRdtSaveOptions

Member nameDescription
ActivateDocOnErr

Activates the editor window of a document if it generates an error on save.

DocClose

Indicates that the save is a result of a document close.

ForceSave

Forces a save even if not dirty.

PromptSave

Prompts user to save the document.

Reserved

Reserved flag, do not use.

SaveAllButThis

Indicates that everything will be saved normally except the exception. The supplied document token indicates the exception.

SaveAs

Indicates that the SaveAs dialog is displayed.

SaveIfDirty

Saves only if changes have been made. (This is the default.)

SaveNoChildren

Saves only the root of the hierarchy passed in; does not include its children.

SaveOnlyChildren

Saves only children of the hierarchy passed in; does not include the hierarchy itself.

SkipNewUnsaved

Indicates that new unsaved files (created in the New File dialog) should be skipped.

Return to top
Show: