Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Forces the loading of the entire solution synchronously before this function returns.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function EnsureSolutionIsLoaded ( _
grfFlags As UInteger _
) As Integer
'Usage
Dim instance As IVsSolution4
Dim grfFlags As UInteger
Dim returnValue As Integer
returnValue = instance.EnsureSolutionIsLoaded(grfFlags)
int EnsureSolutionIsLoaded(
uint grfFlags
)
int EnsureSolutionIsLoaded(
[InAttribute] unsigned int grfFlags
)
abstract EnsureSolutionIsLoaded :
grfFlags:uint32 -> int
function EnsureSolutionIsLoaded(
grfFlags : uint
) : int
Parameters
- grfFlags
Type: System.UInt32
The __VSBSLFLAGS that specify how the project is to be loaded.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
By default Visual Studio loads only PLP_DemandLoad and 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.
.NET Framework Security
- 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.