Share via


__VSRDTSAVEOPTIONS2 Enum

Definition

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

This enumeration supports a bitwise combination of its member values.

public enum class __VSRDTSAVEOPTIONS2
public enum class __VSRDTSAVEOPTIONS2
enum __VSRDTSAVEOPTIONS2
[System.Flags]
public enum __VSRDTSAVEOPTIONS2
[<System.Flags>]
type __VSRDTSAVEOPTIONS2 = 
Public Enum __VSRDTSAVEOPTIONS2
Inheritance
__VSRDTSAVEOPTIONS2
Attributes

Fields

Name Value Description
RDTSAVEOPT_SkipNewUnsaved 32

Activates 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.

RDTSAVEOPT_SaveAllButThis 64

The supplied document token indicates the exception and everything but it will be saved normally.

RDTSAVEOPT_FSaveAs 536870912

Indicates that the save is a result of a document close. Determines if Visual Studio should display a Save As dialog box.

Remarks

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.

Applies to