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)

int EnsureProjectIsLoaded(
	ref Guid guidProject,
	uint grfFlags
)

Parameters

guidProject
Type: System.Guid
The GUID of the project.
grfFlags
Type: System.UInt32
The __VSBSLFLAGS that specify how the projects are to be loaded.

Return Value

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

Community Additions

ADD
Show: