IVsSolutionEvents3.OnAfterLoadProject Method

Notifies listening clients that the project has been loaded.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int OnAfterLoadProject(
	IVsHierarchy pStubHierarchy,
	IVsHierarchy pRealHierarchy
)

Parameters

pStubHierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy

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

pRealHierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy

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

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

COM Signature

From vsshell.idl:

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft