IVsSolution4.UnloadProject(Guid, UInt32) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Unloads a project and sets the reason for unloading it.
C++
public:
int UnloadProject(Guid % guidProjectID, System::UInt32 dwUnloadStatus);
public int UnloadProject(ref Guid guidProjectID, uint dwUnloadStatus);
abstract member UnloadProject : Guid * uint32 -> int
Public Function UnloadProject (ByRef guidProjectID As Guid, dwUnloadStatus As UInteger) As Integer
- guidProjectID
- Guid
The GUID of the project
- dwUnloadStatus
- UInt32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
This method is similar to CloseSolutionElement but gives more control over the reason for unloading the project. CloseSolutionElement always sets the unload status to UNLOADSTATUS_UnloadedByUser.
Proizvod | Verzije |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |