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
'宣言
Function EnsureProjectsAreLoaded ( _
cProjects As UInteger, _
guidProjects As Guid(), _
grfFlags As UInteger _
) As Integer
'使用
Dim instance As IVsSolution4
Dim cProjects As UInteger
Dim guidProjects As Guid()
Dim grfFlags As UInteger
Dim returnValue As Integer
returnValue = instance.EnsureProjectsAreLoaded(cProjects, _
guidProjects, grfFlags)
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: System.UInt32
The number of projects in the array.
- guidProjects
Type: array<System.Guid[]
An array of the GUIDs of the projects.
- grfFlags
Type: System.UInt32
The __VSBSLFLAGS that specify how the projects are to be loaded.
Return Value
Type: System.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.