IVsFireSolutionEvents::FireOnBeforeUnloadProject Method (IVsHierarchy^)

 

Fires a solution event, OnBeforeUnloadProject, before unloading a project from a project hierarchy.

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

int FireOnBeforeUnloadProject(
	IVsHierarchy^ pHierarchy
)

Parameters

pHierarchy
Type: Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^

[in] Pointer to the IVsHierarchy interface of the project being unloaded.

Return Value

Type: System::Int32

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

From vsshell.idl:

HRESULT IVsFireSolutionEvents::FireOnBeforeUnloadProject(
   [in] IVsHierarchy *pHierarchy
);
Return to top
Show: