IVsSolution4.EnsureProjectIsLoaded Method
Visual Studio 2010
Ensures that this project and all required dependencies are loaded.
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
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.Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.