共用方式為


__VSQueryEditFlags2 Enum

Definition

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

This enumeration supports a bitwise combination of its member values.

public enum class __VSQueryEditFlags2
public enum class __VSQueryEditFlags2
enum __VSQueryEditFlags2
[System.Flags]
public enum __VSQueryEditFlags2
[<System.Flags>]
type __VSQueryEditFlags2 = 
Public Enum __VSQueryEditFlags2
Inheritance
__VSQueryEditFlags2
Attributes

Fields

Name Value Description
QEF_AllowUnopenedProjects 128

Allows calls to the QueryEditFiles(UInt32, Int32, String[], UInt32[], VSQEQS_FILE_ATTRIBUTE_DATA[], UInt32, UInt32) method for files of projects that are not loaded or that haven't finished loading.

QEF_CheckoutLocalVersion 256

Attempts to check out local version.

QEF_CheckoutLatestVersion 512

Attempts to check out latest version.

QEF_DetectAnyChangedFile 1024

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.

Applies to