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

Определение

Возникает при запросе на выгрузку проекта.

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

Параметры

pRealHierarchy
IVsHierarchy

Иерархия, пока проект открыт.

pfCancel
Int32

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

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

Int32

HRESULT.

Реализации

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