tagVSQueryEditFlags Enumeration
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)
Syntax
'Dichiarazione
<FlagsAttribute> _
Public Enumeration tagVSQueryEditFlags
'Utilizzo
Dim instance As tagVSQueryEditFlags
[FlagsAttribute]
public enum tagVSQueryEditFlags
[FlagsAttribute]
public enum class tagVSQueryEditFlags
public enum tagVSQueryEditFlags
Members
Member name | Description | |
---|---|---|
QEF_AllowInMemoryEdits | Allows files to be edited in memory. | |
QEF_ForceInMemoryEdits | Allows files to be edited in memory regardless of other conditions that would prevent this. This value overrides the Options dialog box setting. | |
QEF_DisallowInMemoryEdits | Disallows files from being edited in memory, regardless of the Options dialog box settings. | |
QEF_SilentMode | Silent operations may be performed to make files editable; however, no UI is displayed. | |
QEF_ImplicitEdit | 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. | |
QEF_ReportOnly | 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. | |
QEF_NoReload | Disallows edit if it would cause a reload to occur. | |
QEF_ForceEdit_NoPrompting | Perform operations to make files editable, regardless of option settings and without user interaction. |
Remarks
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.