tagVSQuerySaveResult Enumeration

 

This enumeration specifies values that can be returned from the QuerySaveFile method and the QuerySaveFiles method.

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

public enum tagVSQuerySaveResult

Member nameDescription
QSR_ForceSaveAs

The file cannot be saved using the original file name. The Save As command must be used.

QSR_NoSave_Cancel

The file cannot be saved. User cancelled the Save.

QSR_NoSave_Continue

The file cannot be saved, but other files in the batch can be processed.

QSR_NoSave_NoisyPromptRequired

The file cannot be saved because user intervention is required; however, silent mode has been requested.

QSR_NoSave_UserCanceled

The file cannot be saved. User pressed the Cancel button.

QSR_SaveOK

The file can be saved.

These values are not bit flags.

The QSR_NoSave_UserCanceled and QSR_NoSave_Cancel flags are synonymous.

Return to top
Show: