共用方式為


IVsSolution4.ReloadProject Method

Reloads a single unloaded project without requiring any dependencies to be loaded.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'宣告
Function ReloadProject ( _
    ByRef guidProjectID As Guid _
) As Integer
'用途
Dim instance As IVsSolution4
Dim guidProjectID As Guid
Dim returnValue As Integer

returnValue = instance.ReloadProject(guidProjectID)
int ReloadProject(
    ref Guid guidProjectID
)
int ReloadProject(
    [InAttribute] Guid% guidProjectID
)
abstract ReloadProject : 
        guidProjectID:Guid byref -> int 
function ReloadProject(
    guidProjectID : Guid
) : int

Parameters

  • guidProjectID
    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. If the project was not previously unloaded, then this method does nothing and returns S_FALSE.

.NET Framework Security

See Also

Reference

IVsSolution4 Interface

IVsSolution4 Members

Microsoft.VisualStudio.Shell.Interop Namespace