Share via


ElementViewModel.AncestorElements Method

Gets all ancestors ElementViewModel for this ElementViewModel instance.

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

Syntax

'Declaration
Public Function AncestorElements As IEnumerable(Of ElementViewModel)
public IEnumerable<ElementViewModel> AncestorElements()
public:
IEnumerable<ElementViewModel^>^ AncestorElements()
public function AncestorElements() : IEnumerable<ElementViewModel>

See Also

ElementViewModel Class

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