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
- element
Type: Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.ElementViewModel
The element to find related elements for.
- relatedElements
Type: System.Collections.ObjectModel.Collection<ElementViewModel>
The set of related elements.
See Also
Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel Namespace