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