次の方法で共有


__VSENUMPROJFLAGS Enum

Definition

Specifies which projects to enumerate within a solution.

This enumeration supports a bitwise combination of its member values.

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

Fields

Name Value Description
EPF_LOADEDINSOLUTION 1

Normal projects referenced in the solution file and currently loaded.

EPF_UNLOADEDINSOLUTION 2

Normal projects referenced in the solution file and currently not loaded.

EPF_ALLINSOLUTION 3

All normal projects referenced in the solution file.

EPF_MATCHTYPE 4

All normal projects referenced in the solution file projects with project type GUID matching parameter.

EPF_VIRTUALVISIBLEPROJECT 8

"Virtual" projects are visible as top-level projects in Solution Explorer.

EPF_VIRTUALNONVISIBLEPROJECT 16

"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_ALLVIRTUAL 24

All 'virtual' projects of any kind.

EPF_ALLPROJECTS 27

All projects including normal projects directly referenced in the solution file as well as all virtual projects including nested (a.k.a. sub) projects.

Remarks

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).

Note

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.

Applies to