Compartilhar via


SolutionEvents.IVsSolutionEvents2.OnAfterLoadProject Method

Definition

Occurs on/after the project is loaded.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnAfterLoadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pStubHierarchy, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pRealHierarchy) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents2::OnAfterLoadProject;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnAfterLoadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pStubHierarchy, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pRealHierarchy) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents2::OnAfterLoadProject;
int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnAfterLoadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pStubHierarchy, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pRealHierarchy);
int IVsSolutionEvents2.OnAfterLoadProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pStubHierarchy, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pRealHierarchy);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnAfterLoadProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnAfterLoadProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> int
Function OnAfterLoadProject (pStubHierarchy As IVsHierarchy, pRealHierarchy As IVsHierarchy) As Integer Implements IVsSolutionEvents2.OnAfterLoadProject

Parameters

pStubHierarchy
IVsHierarchy

The temporary hierarchy used while the project is not loaded.

pRealHierarchy
IVsHierarchy

The hierarchy after the project is loaded.

Returns

The HRESULT.

Implements

Applies to