Expand Minimize

__VSRDTSAVEOPTIONS2 Enumeration

Specifies additional 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.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

[FlagsAttribute]
public enum __VSRDTSAVEOPTIONS2

Member nameDescription
RDTSAVEOPT_FSaveAsIndicates that the save is a result of a document close. Determines if Visual Studio should display a Save As dialog box.
RDTSAVEOPT_SaveAllButThisThe supplied document token indicates the exception and everything but it will be saved normally.
RDTSAVEOPT_SkipNewUnsavedActivates the editor window of a document, if a save operation causes an error. Indicates that new unsaved files (created via File.New File) should be skipped.

COM Signature

From vsshell80.idl:

enum __VSRDTSAVEOPTIONS2 {
    RDTSAVEOPT_SkipNewUnsaved = 0x00000020,
    RDTSAVEOPT_FSaveAs        = 0x20000000,
};
typedef DWORD VSRDTSAVEOPTIONS2;

These flags can be used wherever the flags from the __VSRDTSAVEOPTIONS enumeration are specified. In fact, the flags from this __VSRDTSAVEOPTIONS2 enumeration are effectively an extension of the __VSRDTSAVEOPTIONS enumeration.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft