共用方式為


IVsFireSolutionEvents.FireOnAfterClosingChildren(IVsHierarchy) Method

Definition

Fires a solution event, OnAfterClosingChildren(IVsHierarchy), after closing a child project in a nested project hierarchy.

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

Parameters

pHierarchy
IVsHierarchy

[in] Pointer to the parent 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::FireOnAfterClosingChildren(  
   [in] IVsHierarchy *pHierarchy  
);  

Applies to