次の方法で共有


IVsFireSolutionEvents.FireOnBeforeClosingChildren(IVsHierarchy) Method

Definition

Fires a solution event, OnBeforeClosingChildren(IVsHierarchy), before closing a child project.

public:
 int FireOnBeforeClosingChildren(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy);
public:
 int FireOnBeforeClosingChildren(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy);
int FireOnBeforeClosingChildren(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierarchy);
public int FireOnBeforeClosingChildren (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy);
abstract member FireOnBeforeClosingChildren : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> int
Public Function FireOnBeforeClosingChildren (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::FireOnBeforeClosingChildren(  
   [in] IVsHierarchy *pHierarchy  
);  

Applies to