IVsSolution4.EnsureSolutionIsLoaded(UInt32) Methode

Definition

Erzwingt, dass die gesamte Projektmappe synchron lädt, bevor diese Funktion Werte zurückgibt.

public:
 int EnsureSolutionIsLoaded(System::UInt32 grfFlags);
public:
 int EnsureSolutionIsLoaded(unsigned int grfFlags);
int EnsureSolutionIsLoaded(unsigned int grfFlags);
public int EnsureSolutionIsLoaded (uint grfFlags);
abstract member EnsureSolutionIsLoaded : uint32 -> int
Public Function EnsureSolutionIsLoaded (grfFlags As UInteger) As Integer

Parameter

grfFlags
UInt32

Das __VSBSLFLAGS, das angibt, wie das Projekt geladen werden soll.

Gibt zurück

Int32

Wenn die Methode erfolgreich ist, wird S_OK zurückgegeben. Bei einem Fehler wird ein Fehlercode zurückgegeben.

Hinweise

Standardmäßig lädt Visual Studio nur PLP_DemandLoad - PLP_BackgroundLoad Projekte und-Projekte. Wenn in grfFlags enthalten VSBSLFLAGS_LoadAllPendingProjects ist, lädt Visual Studio auch PLP_LoadIfNeeded Projekte, sodass alle Projekte außer PLP_ExplicitLoadOnly geladen werden.

Gilt für