This enumeration specifies flags that control how files are to be edited in memory. These flags are passed to the QueryEditFiles method.
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)
|Allows files to be edited in memory.|
|Allows files to be edited in memory regardless of other conditions that would prevent this. This value overrides the Options dialog box setting.|
|Disallows files from being edited in memory, regardless of the Options dialog box settings.|
|Silent operations may be performed to make files editable; however, no UI is displayed.|
|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.|
|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.|
|Disallows edit if it would cause a reload to occur.|
|Perform operations to make files editable, regardless of option settings and without user interaction.|
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.