IVsSolution4.EnsureSolutionIsLoaded Method (UInt32)
Visual Studio 2015
Forces the loading of the entire solution synchronously before this function returns.
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Parameters
- grfFlags
-
Type:
System.UInt32
The E:Microsoft.VisualStudio.Shell.Interop.__VSBSLFLAGS that specify how the project is to be loaded.
Return Value
Type: System.Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
By default Visual Studio loads only PLP_DemandLoad and PLP_BackgroundLoad projects. If grfFlags includes VSBSLFLAGS_LoadAllPendingProjects, then Visual Studio also loads PLP_LoadIfNeeded projects, so that all projects except PLP_ExplicitLoadOnly will be loaded.
Show: