Expand Minimize

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)

[FlagsAttribute]
public enum VSQUERYADDFILEFLAGS

Member nameDescription
VSQUERYADDFILEFLAGS_IsNestedProjectFileNested project (file), for example, the file sitting on the root node of a nested project.
VSQUERYADDFILEFLAGS_IsSpecialFile"Special" file, for example, an invisible file associated with another file in the project.
VSQUERYADDFILEFLAGS_NoFlagsNo flags are associated with the file that will be added to the project.

COM Signature

From IVsTrackProjectDocumentsEvents2.idl:

typedef enum tagVSQUERYADDFILEFLAGS
{
   VSQUERYADDFILEFLAGS_NoFlags             = 0,
   VSQUERYADDFILEFLAGS_IsSpecialFile       = 1,
   VSQUERYADDFILEFLAGS_IsNestedProjectFile = 2
} VSQUERYADDFILEFLAGS;
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft