Partager via


_VSProjectLoadPriority Enumeration

Represents the different load priorities that can be set on a project.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
Public Enumeration _VSProjectLoadPriority
public enum _VSProjectLoadPriority
public enum class _VSProjectLoadPriority
type _VSProjectLoadPriority
public enum _VSProjectLoadPriority

Members

Member name Description
PLP_BackgroundLoad Load the project in the background on idle.
PLP_DemandLoad Load the project synchronously when the solution is opened. Load on the next idle point, or immediately if one of the EnsureXXXIsLoaded methods of IVsSolution4 is called.
PLP_ExplicitLoadOnly Keep the project unloaded, even if it is needed as a dependency of another project, until it is explicitly loaded.
PLP_LoadIfNeeded Load the project only if it is needed as a dependency of another project.

Remarks

This enumeration is used by the methods GetProjectLoadPriority and SetProjectLoadPriority, which can be called by a solution load manager. See Managing Project Loading in a Solution for details.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace