次の方法で共有


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.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsSolution4 Interface

IVsSolution4 Members

Microsoft.VisualStudio.Shell.Interop Namespace