SolutionEvents.IVsSolutionEvents.OnQueryCloseProject(IVsHierarchy, Int32, Int32) Метод

Определение

Происходит при запросе закрытия проекта.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents.OnQueryCloseProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, int fRemoving, int % pfCancel) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents::OnQueryCloseProject;
int IVsSolutionEvents.OnQueryCloseProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy, int fRemoving, ref int pfCancel);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents.OnQueryCloseProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int * int -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents.OnQueryCloseProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int * int -> int
Function OnQueryCloseProject (pHierarchy As IVsHierarchy, fRemoving As Integer, ByRef pfCancel As Integer) As Integer Implements IVsSolutionEvents.OnQueryCloseProject

Параметры

pHierarchy
IVsHierarchy

Иерархия.

fRemoving
Int32

true значение, если проект должен быть удален.

pfCancel
Int32

true значение, если закрытие отменено.

Возвращаемое значение

Int32

HRESULT.

Реализации

Применяется к