Freigeben über


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)

Syntax

'Declaration
Function OpenChildren As Integer
'Usage
Dim instance As IVsParentProject
Dim returnValue As Integer

returnValue = instance.OpenChildren()
int OpenChildren()
int OpenChildren()
function OpenChildren() : int

Return Value

Type: System.Int32

Remarks

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.

Permissions

See Also

Reference

IVsParentProject Interface

IVsParentProject Members

Microsoft.VisualStudio.Shell.Interop Namespace