Share via


__VSQueryEditFlags2 Enumeration

This enumeration is an extension of tagVSQueryEditFlags, and specifies additional flags.

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.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

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

Members

Member name Description
QEF_AllowUnopenedProjects Allows calls to the QueryEditFiles method for files of projects that are not loaded or that haven't finished loading.

Note   QEF_SilentMode is always assumed if this flag is specified.

QEF_CheckoutLatestVersion Attempts to check out latest version.
QEF_CheckoutLocalVersion Attempts to check out local version.
QEF_DetectAnyChangedFile Enables the detection of content changes for files that are not currently open in the IDE (editor buffer or project/solution file). If such changes occur, QER_Changed will be returned in prgfMoreInfo.

Remarks

COM Signature

From IVsTrackProjectDocumentsEvents2.idl:

enum __VSQueryEditFlags2
{
   QEF_AllowUnopenedProjects = 0x00000080,
   QEF_CheckoutLocalVersion  = 0x00000100,
   QEF_CheckoutLatestVersion = 0x00000200,
   QEF_DetectAnyChangedFile  = 0x00000400,
};
typedef DWORD VSQueryEditFlags2;

The flags of tagVSQueryEditFlags and VsQueryEditFlags2 enumerations are all passed to a call to the QueryEditFiles method by an editor or by any entity that wants to change a file.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace