This documentation is archived and is not being maintained.


Specifies file save options.

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

public enum VSSAVEFLAGS
/** @attribute FlagsAttribute() */ 
public enum VSSAVEFLAGS
public enum VSSAVEFLAGS

 Member nameDescription
VSSAVE_SaveSaves the current file to itself without being prompted for another file name. 
VSSAVE_SaveAsSaves the file to another file specified by the user when prompted. 
VSSAVE_SaveCopyAsSaves a copy of the file with a name specified by the user when prompted. 
VSSAVE_SilentSaveSaves the file without prompting for a name or confirmation. 

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: