We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

__VSENUMPROJFLAGS Enumeration

Specifies which projects to enumerate within a solution.

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 __VSENUMPROJFLAGS

Member nameDescription
EPF_LOADEDINSOLUTIONNormal projects referenced in the solution file and currently loaded.
EPF_UNLOADEDINSOLUTIONNormal projects referenced in the solution file and currently not loaded.
EPF_ALLINSOLUTIONAll normal projects referenced in the solution file.
EPF_MATCHTYPEAll normal projects referenced in the solution file projects with project type GUID matching parameter.
EPF_VIRTUALVISIBLEPROJECT"Virtual" projects are visible as top-level projects in Solution Explorer.
EPF_VIRTUALNONVISIBLEPROJECT"Virtual" projects are not visible as top-level projects in Solution Explorer. NOTE: these are projects that are not directly referenced in the solution file and are usually displayed as nested (a.k.a. sub) projects in Solution Explorer.
EPF_ALLVIRTUALAll 'virtual' projects of any kind.
EPF_ALLPROJECTSAll projects including normal projects directly referenced in the solution file as well as all virtual projects including nested (a.k.a. sub) projects.

COM Signature

From vsshell.idl:

When a virtual project is added, you can specify whether to place it in the Solution Explorer. If a virtual project is in the Solution Explorer, then it is visible (EPF_VIRTUALVISIBLEPROJECT).

NoteNote

EPF_VIRTUALVISIBLEPROJECT are not directly referenced in the solution file; instead they are projects that are created programmatically by way of a non-standard UI.

Show: