Compartilhar via


IVsSolution4.EnsureSolutionIsLoaded(UInt32) Method

Definition

Caution

This API is no longer supported by Visual Studio.

Forces the loading of the entire solution synchronously before this function returns.

public:
 int EnsureSolutionIsLoaded(System::UInt32 grfFlags);
public:
 int EnsureSolutionIsLoaded(unsigned int grfFlags);
int EnsureSolutionIsLoaded(unsigned int grfFlags);
public int EnsureSolutionIsLoaded (uint grfFlags);
[System.Obsolete("This API is no longer supported by Visual Studio.")]
public int EnsureSolutionIsLoaded (uint grfFlags);
abstract member EnsureSolutionIsLoaded : uint32 -> int
[<System.Obsolete("This API is no longer supported by Visual Studio.")>]
abstract member EnsureSolutionIsLoaded : uint32 -> int
Public Function EnsureSolutionIsLoaded (grfFlags As UInteger) As Integer

Parameters

grfFlags
UInt32

The __VSBSLFLAGS that specify how the project is to be loaded.

Returns

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

Attributes

Remarks

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.

Applies to