IVsSolutionEvents2.OnAfterLoadProject(IVsHierarchy, IVsHierarchy) Method

Definition

Notifies listening clients that the project has been loaded.

C++/CX
public:
 int OnAfterLoadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pStubHierarchy, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pRealHierarchy);

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:

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

Applies to

製品 バージョン
Visual Studio SDK 2015, 2017, 2019, 2022