IVsSolutionEvents3.OnBeforeClosingChildren(IVsHierarchy) Method
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 closing all nested projects owned by a parent hierarchy.
public:
int OnBeforeClosingChildren(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy);
C++/CX
public:
int OnBeforeClosingChildren(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy);
int OnBeforeClosingChildren(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierarchy);
public int OnBeforeClosingChildren(Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy);
abstract member OnBeforeClosingChildren : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> int
Public Function OnBeforeClosingChildren (pHierarchy As IVsHierarchy) As Integer
- pHierarchy
- IVsHierarchy
[in] Pointer to parent project.
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
cpp#
HRESULT IVsSolutionEvents3::OnBeforeClosingChildren(
[in] IVsHierarchy *pHierarchy
);
Implemented with CloseChildren to control the closing of nested projects.
Proizvod | Verzije |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |