tagVSQueryEditFlags Enumeration


This enumeration specifies flags that control how files are to be edited in memory. These flags are passed to the QueryEditFiles method.

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

public enum tagVSQueryEditFlags

Member nameDescription

Allows files to be edited in memory.


Disallows files from being edited in memory, regardless of the Options dialog box settings.


Perform operations to make files editable, regardless of option settings and without user interaction.


Allows files to be edited in memory regardless of other conditions that would prevent this. This value overrides the Options dialog box setting.


This flag disables the Cancel button on the checkout dialog box. The cancel action is interpreted as the user choice for allowing in-memory editing. This flag is primarily for internal use. Use carefully, or not at all.


Disallows edit if it would cause a reload to occur.


No user interface (UI) is displayed, and no action is taken. Return values indicate whether an edit would be allowed, with respect to user interaction, option settings, and external conditions.


Silent operations may be performed to make files editable; however, no UI is displayed.

The QEF_ForceEdit_NoPrompting flag differs from the QEF_SilentMode flag in that it does not always respect the user's Options settings. Thus, it should be used with caution and only under special circumstances when the user will not be offended if his or her preferences are overridden. Additionally, when forcing edits with the new flag, QueryEditFiles may choose to allow an edit to proceed in memory. If in-memory edits are not desired, then the caller should also pass in the QEF_DisallowInMemoryEdits flag.

Return to top