Compartir a través de


IVsSolution4.EnsureProjectIsLoaded Method

Ensures that this project and all required dependencies are loaded.

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

Syntax

'Declaration
Function EnsureProjectIsLoaded ( _
    ByRef guidProject As Guid, _
    grfFlags As UInteger _
) As Integer
int EnsureProjectIsLoaded(
    ref Guid guidProject,
    uint grfFlags
)
int EnsureProjectIsLoaded(
    [InAttribute] Guid% guidProject, 
    [InAttribute] unsigned int grfFlags
)
abstract EnsureProjectIsLoaded : 
        guidProject:Guid byref * 
        grfFlags:uint32 -> int
function EnsureProjectIsLoaded(
    guidProject : Guid, 
    grfFlags : uint
) : int

Parameters

  • guidProject
    Type: Guid%

    The GUID of the project.

  • grfFlags
    Type: UInt32

    The __VSBSLFLAGS that specify how the projects are to be loaded.

Return Value

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

.NET Framework Security

See Also

Reference

IVsSolution4 Interface

Microsoft.VisualStudio.Shell.Interop Namespace