OpenChildren Method
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

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 ()
int OpenChildren ()
function OpenChildren () : int

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.

Show:
© 2016 Microsoft