SolutionEvents.IVsSolutionEvents3.OnQueryCloseProject Method

Definition

Occurs when there is a query about closing the project.

C++
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents3.OnQueryCloseProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, int fRemoving, int % pfCancel) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents3::OnQueryCloseProject;

Parameters

pHierarchy
IVsHierarchy

The hierarchy.

fRemoving
Int32

true if the project is to be removed.

pfCancel
Int32

true if the operation is canceled.

Returns

The HRESULT.

Implements

Applies to

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