共用方式為


VSSAVEFLAGS Enum

Definition

Specifies file save options.

This enumeration supports a bitwise combination of its member values.

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

Fields

VSSAVE_Save 0

Saves the current file to itself without being prompted for another file name.

VSSAVE_SaveAs 1

Saves the file to another file specified by the user when prompted.

VSSAVE_SaveCopyAs 3

Saves a copy of the file with a name specified by the user when prompted.

VSSAVE_SilentSave 2

Saves the file without prompting for a name or confirmation.

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:

Applies to