Partager via


VsQueryEditFlags Enumeration

Specifies the conditions for the query edit.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration VsQueryEditFlags
[FlagsAttribute]
public enum VsQueryEditFlags
[FlagsAttribute]
public enum class VsQueryEditFlags
[<FlagsAttribute>]
type VsQueryEditFlags
public enum VsQueryEditFlags

Members

Member name Description
AllowInMemoryEdits Specifies that in-memory edits are allowed.
AllowUnopenedProjects Allow calls to QueryEditFiles for project files of unloaded projects or projects that are still being loaded and might not have IVsHierarchy yet.

QEF_SilentMode is assumed for the flag, that is, there will never be any UI shown for files of unopened projects.

CheckoutLatestVersion Attempt to check out the latest version.
CheckoutLocalVersion Attempt to check out the local version.
DetectAnyChangedFile Detect changes in any file involved in the operation and return QER_Changed if any file was changed on disk.
DisallowInMemoryEdits Specifies that in-memory edits are disallowed regardless.
ForceEdit_NoPrompting Perform operations to make files editable, regardless of option settings, and without user interaction.
ForceInMemoryEdits Specifies that in-memory edits are allowed regardless.
ImplicitEdit Disables the cancel button on the checkout dialog; the cancel action is interpreted as the user choice for allowing in-memory editing. Use this flag carefully.
NoReload Specifies that edit is disallowed if it would cause a reload to occur.
ReportOnly No UI is put up, and no action is taken; return values indicate if an edit would be allowed, depending on user interaction, option settings, and external conditions.
SilentMode No UI is put up, but silent operations can be performed to make files editable.

See Also

Reference

Microsoft.VisualStudio.Shell Namespace