Partilhar via


VSQUERYADDFILEFLAGS Enum

Definition

Used in the OnQueryAddFiles(IVsProject, Int32, String[], VSQUERYADDFILEFLAGS[], VSQUERYADDFILERESULTS[], VSQUERYADDFILERESULTS[]) and OnQueryAddFiles(IVsProject, Int32, String[], VSQUERYADDFILEFLAGS[], VSQUERYADDFILERESULTS[], VSQUERYADDFILERESULTS[]) methods to indicate the type of file that will be added to the project.

This enumeration supports a bitwise combination of its member values.

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

Fields

Name Value Description
VSQUERYADDFILEFLAGS_NoFlags 0

No flags are associated with the file that will be added to the project.

VSQUERYADDFILEFLAGS_IsSpecialFile 1

"Special" file, for example, an invisible file associated with another file in the project.

VSQUERYADDFILEFLAGS_IsNestedProjectFile 2

Nested project (file), for example, the file sitting on the root node of a nested project.

Remarks

COM Signature

From IVsTrackProjectDocumentsEvents2.idl:

typedef enum tagVSQUERYADDFILEFLAGS  
{  
   VSQUERYADDFILEFLAGS_NoFlags             = 0,  
   VSQUERYADDFILEFLAGS_IsSpecialFile       = 1,  
   VSQUERYADDFILEFLAGS_IsNestedProjectFile = 2  
} VSQUERYADDFILEFLAGS;  

Applies to