SolutionEvents.IVsSolutionEvents3.OnBeforeCloseProject Method

Definition

Occurs on/before the project is closed.

C++/CX
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents3.OnBeforeCloseProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, int fRemoved) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents3::OnBeforeCloseProject;

Parameters

pHierarchy
IVsHierarchy

The hierarchy.

fRemoved
Int32

true if the project is to be removed.

Returns

The HRESULT.

Implements

Applies to

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