IVsSolution4.EnsureProjectsAreLoaded Method
Ensures that the specified list of projects and all required dependencies are loaded.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function EnsureProjectsAreLoaded ( _
cProjects As UInteger, _
guidProjects As Guid(), _
grfFlags As UInteger _
) As Integer
int EnsureProjectsAreLoaded(
uint cProjects,
Guid[] guidProjects,
uint grfFlags
)
int EnsureProjectsAreLoaded(
[InAttribute] unsigned int cProjects,
[InAttribute] array<Guid>^ guidProjects,
[InAttribute] unsigned int grfFlags
)
abstract EnsureProjectsAreLoaded :
cProjects:uint32 *
guidProjects:Guid[] *
grfFlags:uint32 -> int
function EnsureProjectsAreLoaded(
cProjects : uint,
guidProjects : Guid[],
grfFlags : uint
) : int
Parameters
cProjects
Type: UInt32The number of projects in the array.
guidProjects
Type: array<Guid[]An array of the GUIDs of the projects.
grfFlags
Type: UInt32The __VSBSLFLAGS that specify how the projects are to be loaded.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.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.