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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
<FlagsAttribute> _
Public Enumeration VsRdtSaveOptions
[FlagsAttribute]
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. | |
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. | |
SaveAs | Indicates that the SaveAs dialog is displayed. | |
SaveAllButThis | Indicates that everything will be saved normally except the exception. The supplied document token indicates the exception. | |
SkipNewUnsaved | Indicates that new unsaved files (created in the New File dialog) should be skipped. |