SolutionEvents.IVsSolutionEvents2.OnBeforeCloseProject(IVsHierarchy, Int32) Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Происходит в/до закрытия проекта.
virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnBeforeCloseProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, int fRemoved) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents2::OnBeforeCloseProject;
virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnBeforeCloseProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, int fRemoved) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents2::OnBeforeCloseProject;
int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnBeforeCloseProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierarchy, int fRemoved);
int IVsSolutionEvents2.OnBeforeCloseProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy, int fRemoved);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnBeforeCloseProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnBeforeCloseProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int -> int
Function OnBeforeCloseProject (pHierarchy As IVsHierarchy, fRemoved As Integer) As Integer Implements IVsSolutionEvents2.OnBeforeCloseProject
Параметры
- pHierarchy
- IVsHierarchy
Иерархия.
- fRemoved
- Int32
true значение, если проект должен быть удален.
Возвращаемое значение
HRESULT.