다음을 통해 공유


IVsSolutionEvents3.OnAfterClosingChildren(IVsHierarchy) Method

Definition

Fired after closing all nested projects owned by a parent hierarchy.

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

Parameters

pHierarchy
IVsHierarchy

[in] Pointer to parent project.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsSolutionEvents3::OnAfterClosingChildren(  
   [in] IVsHierarchy *pHierarchy  
);  

Implemented with CloseChildren to control the closing of nested projects.

Applies to