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
- 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.