共用方式為


IVsFireSolutionEvents.FireOnAfterLoadProject(IVsHierarchy) Method

Definition

Fires a solution event, OnAfterLoadProject(IVsHierarchy, IVsHierarchy), after a project is loaded in the project hierarchy.

public:
 int FireOnAfterLoadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy);
public:
 int FireOnAfterLoadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy);
int FireOnAfterLoadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierarchy);
public int FireOnAfterLoadProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy);
abstract member FireOnAfterLoadProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> int
Public Function FireOnAfterLoadProject (pHierarchy As IVsHierarchy) As Integer

Parameters

pHierarchy
IVsHierarchy

[in] Pointer to the loaded project's IVsHierarchy.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsFireSolutionEvents::FireOnAfterLoadProject(  
   [in] IVsHierarchy *pHierarchy  
);  

Applies to