SolutionEvents.IVsSolutionEvents.OnQueryUnloadProject Method

Definition

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;

Parameters

pRealHierarchy
IVsHierarchy

The hierarchy while the project is open.

pfCancel
Int32

true if the unload is canceled.

Returns

The HRESULT.

Implements

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022