Partager via


__FRAMECLOSE Enumeration

Specifies close options when closing a window frame.

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

Syntax

'Declaration
Public Enumeration __FRAMECLOSE
public enum __FRAMECLOSE
public enum class __FRAMECLOSE
type __FRAMECLOSE
public enum __FRAMECLOSE

Members

Member name Description
FRAMECLOSE_NoSave Do not save the document.
FRAMECLOSE_PromptSave Prompt for document save.
FRAMECLOSE_SaveIfDirty Save the document if it is dirty.

Remarks

These save options are or'ed with RDTSAVEOPT_DocClose, from the __VSRDTSAVEOPTIONS enumeration, to indicate to the environment that the action is a result of a document close request.

COM Signature

From vsshell.idl:

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace