Export (0) Print
Expand All
Expand Minimize

__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
/** @attribute FlagsAttribute() */ 
public enum __VSQueryEditFlags2
FlagsAttribute 
public enum __VSQueryEditFlags2

 Member nameDescription
QEF_AllowUnopenedProjectsAllows 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_CheckoutLatestVersionAttempts to check out latest version. 
QEF_CheckoutLocalVersionAttempts to check out local version. 
QEF_DetectAnyChangedFileEnables 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

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.

Community Additions

ADD
Show:
© 2014 Microsoft