Export (0) Print
Expand All
Expand Minimize

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)

[FlagsAttribute] 
public enum tagVSQueryEditFlags
/** @attribute FlagsAttribute() */ 
public enum tagVSQueryEditFlags
FlagsAttribute 
public enum tagVSQueryEditFlags

 Member nameDescription
QEF_AllowInMemoryEditsAllows files to be edited in memory. 
QEF_DisallowInMemoryEditsDisallows files from being edited in memory, regardless of the Options dialog box settings. 
QEF_ForceEdit_NoPromptingPerform operations to make files editable, regardless of option settings and without user interaction. 
QEF_ForceInMemoryEditsAllows files to be edited in memory regardless of other conditions that would prevent this. This value overrides the Options dialog box setting. 
QEF_ImplicitEditThis 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. 
QEF_NoReloadDisallows edit if it would cause a reload to occur. 
QEF_ReportOnlyNo 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. 
QEF_SilentModeSilent 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.

Community Additions

ADD
Show:
© 2014 Microsoft