Partager via


VSQUERYADDFILEFLAGS Enumeration

Used in the IVsTrackProjectDocuments2.OnQueryAddFiles and IVsTrackProjectDocumentsEvents2.OnQueryAddFiles methods to indicate the type of file that will be added to the project.

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

Syntax

'Déclaration
<FlagsAttribute> _
Public Enumeration VSQUERYADDFILEFLAGS
'Utilisation
Dim instance As VSQUERYADDFILEFLAGS
[FlagsAttribute]
public enum VSQUERYADDFILEFLAGS
[FlagsAttribute]
public enum class VSQUERYADDFILEFLAGS
[<FlagsAttribute>]
type VSQUERYADDFILEFLAGS
public enum VSQUERYADDFILEFLAGS

Members

Member name Description
VSQUERYADDFILEFLAGS_NoFlags No flags are associated with the file that will be added to the project.
VSQUERYADDFILEFLAGS_IsSpecialFile "Special" file, for example, an invisible file associated with another file in the project.
VSQUERYADDFILEFLAGS_IsNestedProjectFile 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;

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace