共用方式為


IVsFireSolutionEvents.FireOnAfterOpeningChildren(IVsHierarchy) Method

Definition

Fires a solution event, OnAfterOpeningChildren(IVsHierarchy), after opening a child project in a nested project hierarchy.

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

Applies to