__VSQueryEditFlags2 Enumeration

 

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

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

[FlagsAttribute]
public enum __VSQueryEditFlags2

Member nameDescription
QEF_AllowUnopenedProjects

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

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.

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.

Return to top
Show: