共用方式為


__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

'宣告
Public Enumeration __FRAMECLOSE
'用途
Dim instance As __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_SaveIfDirty Save the document if it is dirty.
FRAMECLOSE_PromptSave Prompt for document save.

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