共用方式為


_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

'宣告
Public Enumeration _VSProjectLoadPriority
'用途
Dim instance As _VSProjectLoadPriority
public enum _VSProjectLoadPriority
public enum class _VSProjectLoadPriority
type _VSProjectLoadPriority
public enum _VSProjectLoadPriority

Members

Member name Description
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_BackgroundLoad Load the project in the background on idle.
PLP_LoadIfNeeded Load the project only if it is needed as a dependency of another project.
PLP_ExplicitLoadOnly Keep the project unloaded, even if it is needed as a dependency of another project, until it is explicitly loaded.

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