Compartilhar via


IVsSolutionEvents2.OnAfterLoadProject(IVsHierarchy, IVsHierarchy) Method

Definition

Notifies listening clients that the project has been loaded.

public:
 int OnAfterLoadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pStubHierarchy, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pRealHierarchy);
public:
 int OnAfterLoadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pStubHierarchy, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pRealHierarchy);
int OnAfterLoadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pStubHierarchy, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pRealHierarchy);
public int OnAfterLoadProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pStubHierarchy, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pRealHierarchy);
abstract member OnAfterLoadProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> int
Public Function OnAfterLoadProject (pStubHierarchy As IVsHierarchy, pRealHierarchy As IVsHierarchy) As Integer

Parameters

pStubHierarchy
IVsHierarchy

[in] Pointer to the IVsHierarchy interface of the placeholder hierarchy for the unloaded project.

pRealHierarchy
IVsHierarchy

[in] Pointer to the IVsHierarchy interface of the project that was loaded.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsSolutionEvents2::OnAfterLoadProject(  
   [in] IVsHierarchy *pStubHierarchy,  
   [in] IVsHierarchy *pRealHierarchy  
);  

Applies to