Partager via


ElementViewModel.DescendentConfigurationsOfType<T> Method

Returns all descending ElementViewModel instances relative to this ElementViewModel whose ConfigurationType is assignable to T.

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

Syntax

'Declaration
Public Function DescendentConfigurationsOfType(Of T As ConfigurationElement) As IEnumerable(Of ElementViewModel)
public IEnumerable<ElementViewModel> DescendentConfigurationsOfType<T>()
where T : ConfigurationElement
public:
generic<typename T>
where T : ConfigurationElement
IEnumerable<ElementViewModel^>^ DescendentConfigurationsOfType()
JScript does not support generic types or methods.

Type Parameters

  • T

Return Value

An empty set or a set ElementViewModel items.

See Also

ElementViewModel Class

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