IVsParentProject.OpenChildren Method

Implemented to open nested projects under a parent project.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int OpenChildren()

Return Value

Type: System.Int32

OpenChildren is called after the parent project is opened and before the OnAfterOpenProject the environment for the project sends the notification.

When OpenChildren is called, the parent project causes the OnBeforeOpeningChildren notification to be fired sending notification to all listening processes that nested projects are about to be opened. The parent project then opens all of its child projects. Once all of the nested projects are opened, the parent project calls OnAfterOpeningChildren to notify all listening processes that all of the children projects have been opened.

Finally, the environment for the parent project sends the OnAfterOpenProject notification.

Community Additions