SectionViewModel.AddChildrenRelatedElements Method

Adds any related child elements to the specified element.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel
Assembly:  Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime (in Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll)

Syntax

'Declaration
Protected Shared Sub AddChildrenRelatedElements ( _
    element As ElementViewModel, _
    relatedElements As Collection(Of ElementViewModel) _
)
protected static void AddChildrenRelatedElements(
    ElementViewModel element,
    Collection<ElementViewModel> relatedElements
)
protected:
static void AddChildrenRelatedElements(
    ElementViewModel^ element, 
    Collection<ElementViewModel^>^ relatedElements
)
protected static function AddChildrenRelatedElements(
    element : ElementViewModel, 
    relatedElements : Collection<ElementViewModel>
)

Parameters

See Also

SectionViewModel Class

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel Namespace