Udostępnij za pośrednictwem


__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)

Syntax

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

Members

Member name Description
RDTSAVEOPT_SkipNewUnsaved 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 The supplied document token indicates the exception and everything but it will be saved normally.
RDTSAVEOPT_FSaveAs 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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace