次の方法で共有


IVsFireSolutionEvents.FireOnBeforeOpeningChildren(IVsHierarchy) Method

Definition

Fires a solution event, OnBeforeOpeningChildren(IVsHierarchy), before opening a children project in a nested project hierarchy.

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

Applies to