IVsSolutionEvents3.OnBeforeOpeningChildren(IVsHierarchy) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Fired before opening all nested projects owned by a parent hierarchy.
public:
int OnBeforeOpeningChildren(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy);
public:
int OnBeforeOpeningChildren(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy);
int OnBeforeOpeningChildren(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierarchy);
public int OnBeforeOpeningChildren (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy);
abstract member OnBeforeOpeningChildren : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> int
Public Function OnBeforeOpeningChildren (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::OnBeforeOpeningChildren(
[in] IVsHierarchy *pHierarchy
);
Implemented with OpenChildren to control the loading of nested projects.