共用方式為


IVsSolutionLoadManagerSupport.GetProjectLoadPriority Method

Gets the project load priority, which determines whether the project should be kept as an unloaded project the next time the solution is opened.

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

Syntax

'宣告
Function GetProjectLoadPriority ( _
    ByRef refguidProject As Guid, _
    <OutAttribute> ByRef pLoadState As UInteger _
) As Integer
'用途
Dim instance As IVsSolutionLoadManagerSupport
Dim refguidProject As Guid
Dim pLoadState As UInteger
Dim returnValue As Integer

returnValue = instance.GetProjectLoadPriority(refguidProject, _
    pLoadState)
int GetProjectLoadPriority(
    ref Guid refguidProject,
    out uint pLoadState
)
int GetProjectLoadPriority(
    [InAttribute] Guid% refguidProject, 
    [OutAttribute] unsigned int% pLoadState
)
abstract GetProjectLoadPriority : 
        refguidProject:Guid byref * 
        pLoadState:uint32 byref -> int 
function GetProjectLoadPriority(
    refguidProject : Guid, 
    pLoadState : uint
) : int

Parameters

  • refguidProject
    Type: System.Guid%
    The GUID of the project

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsSolutionLoadManagerSupport Interface

IVsSolutionLoadManagerSupport Members

Microsoft.VisualStudio.Shell.Interop Namespace