IVsSolution4.EnsureProjectIsLoaded Method
Ensures that this project 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 EnsureProjectIsLoaded ( _
ByRef guidProject As Guid, _
grfFlags As UInteger _
) As Integer
'使用
Dim instance As IVsSolution4
Dim guidProject As Guid
Dim grfFlags As UInteger
Dim returnValue As Integer
returnValue = instance.EnsureProjectIsLoaded(guidProject, _
grfFlags)
int EnsureProjectIsLoaded(
ref Guid guidProject,
uint grfFlags
)
int EnsureProjectIsLoaded(
[InAttribute] Guid% guidProject,
[InAttribute] unsigned int grfFlags
)
abstract EnsureProjectIsLoaded :
guidProject:Guid byref *
grfFlags:uint32 -> int
function EnsureProjectIsLoaded(
guidProject : Guid,
grfFlags : uint
) : int
Parameters
- guidProject
Type: System.Guid%
The GUID of the project.
- 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.