共用方式為


VSSAVEFLAGS Enumeration

Specifies file save options.

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 (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'宣告
<FlagsAttribute> _
Public Enumeration VSSAVEFLAGS
'用途
Dim instance As VSSAVEFLAGS
[FlagsAttribute]
public enum VSSAVEFLAGS
[FlagsAttribute]
public enum class VSSAVEFLAGS
[<FlagsAttribute>]
type VSSAVEFLAGS
public enum VSSAVEFLAGS

Members

Member name Description
VSSAVE_Save Saves the current file to itself without being prompted for another file name.
VSSAVE_SaveAs Saves the file to another file specified by the user when prompted.
VSSAVE_SilentSave Saves the file without prompting for a name or confirmation.
VSSAVE_SaveCopyAs Saves a copy of the file with a name specified by the user when prompted.

Remarks

Currently there are no UI actions that cause VSSAVE_SaveAs and VSSAVE_SilentSave flags to be passed. VSSAVE_SilentSave flag is passed when the document is saved through a call from the DTE automation model.

COM Signature

From vsshell.idl:

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace