SolutionEvents.IVsSolutionEvents.OnQueryUnloadProject 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.
Occurs when there is a query about unloading the project.
C++
virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents.OnQueryUnloadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pRealHierarchy, int % pfCancel) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents::OnQueryUnloadProject;
int IVsSolutionEvents.OnQueryUnloadProject(Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pRealHierarchy, ref int pfCancel);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents.OnQueryUnloadProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents.OnQueryUnloadProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int -> int
Function OnQueryUnloadProject (pRealHierarchy As IVsHierarchy, ByRef pfCancel As Integer) As Integer Implements IVsSolutionEvents.OnQueryUnloadProject
- pRealHierarchy
- IVsHierarchy
The hierarchy while the project is open.
- pfCancel
- Int32
true
if the unload is canceled.
The HRESULT.
Proizvod | Verzije |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |