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

'Declaration
Function ReloadProject ( _
    ByRef guidProjectID As Guid _
) As Integer
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

Microsoft.VisualStudio.Shell.Interop Namespace