Dela via


VsRdtSaveOptions Enumeration

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

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration VsRdtSaveOptions
[FlagsAttribute]
public enum VsRdtSaveOptions
[FlagsAttribute]
public enum class VsRdtSaveOptions
[<FlagsAttribute>]
type VsRdtSaveOptions
public enum VsRdtSaveOptions

Members

Member name Description
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.

See Also

Reference

Microsoft.VisualStudio.Shell Namespace