Compartir a través de


SolutionEvents.IVsSolutionEvents.OnBeforeCloseProject Method

Definition

Occurs on/before the project is closed.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents.OnBeforeCloseProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, int fRemoved) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents::OnBeforeCloseProject;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents.OnBeforeCloseProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, int fRemoved) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents::OnBeforeCloseProject;
int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents.OnBeforeCloseProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierarchy, int fRemoved);
int IVsSolutionEvents.OnBeforeCloseProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy, int fRemoved);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents.OnBeforeCloseProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents.OnBeforeCloseProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int -> int
Function OnBeforeCloseProject (pHierarchy As IVsHierarchy, fRemoved As Integer) As Integer Implements IVsSolutionEvents.OnBeforeCloseProject

Parameters

pHierarchy
IVsHierarchy

The hierarchy.

fRemoved
Int32

true if the project is to be removed.

Returns

The HRESULT.

Implements

Applies to