SolutionEvents.IVsSolutionEvents3.OnBeforeCloseProject(IVsHierarchy, Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Se produit lors de la fermeture du projet.
virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents3.OnBeforeCloseProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, int fRemoved) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents3::OnBeforeCloseProject;
virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents3.OnBeforeCloseProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, int fRemoved) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents3::OnBeforeCloseProject;
int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents3.OnBeforeCloseProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierarchy, int fRemoved);
int IVsSolutionEvents3.OnBeforeCloseProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy, int fRemoved);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents3.OnBeforeCloseProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents3.OnBeforeCloseProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int -> int
Function OnBeforeCloseProject (pHierarchy As IVsHierarchy, fRemoved As Integer) As Integer Implements IVsSolutionEvents3.OnBeforeCloseProject
Paramètres
- pHierarchy
- IVsHierarchy
Hiérarchie.
- fRemoved
- Int32
true Si le projet doit être supprimé.
Retours
HRESULT.