Partager via


NameTypeConfigurationElementCollection<T, TCustomElementData> Class

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Represesnts a collection of NameTypeConfigurationElement objects.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Common.Configuration
Assembly:  Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll)

Syntax

'Declaration
PublicClassNameTypeConfigurationElementCollection(Of T As {New, NameTypeConfigurationElement}, TCustomElementData AsNew) _
    Inherits PolymorphicConfigurationElementCollection(Of T)
publicclassNameTypeConfigurationElementCollection<T, TCustomElementData> : PolymorphicConfigurationElementCollection<T>
where T : new(), NameTypeConfigurationElement
where TCustomElementData : new()
generic<typename T, typename TCustomElementData>
where T : gcnew(), NameTypeConfigurationElement
where TCustomElementData : gcnew()
publicref classNameTypeConfigurationElementCollection : public PolymorphicConfigurationElementCollection<T>
JScript does not support generic types or methods.

Type Parameters

  • T
    The type of NameTypeConfigurationElement object this collection contains.
  • TCustomElementData
    The type used for Custom configuration elements in this collection.

Inheritance Hierarchy

System.Object
  System.Configuration.ConfigurationElement
    System.Configuration.ConfigurationElementCollection
      Microsoft.Practices.EnterpriseLibrary.Common.Configuration.NamedElementCollection<T>
        Microsoft.Practices.EnterpriseLibrary.Common.Configuration.PolymorphicConfigurationElementCollection<T>
          Microsoft.Practices.EnterpriseLibrary.Common.Configuration.NameTypeConfigurationElementCollection<T, TCustomElementData>
            Microsoft.Practices.EnterpriseLibrary.PolicyInjection.Configuration.InjectorDataCollection
            Microsoft.Practices.EnterpriseLibrary.Validation.Configuration.ValidatorDataCollection

See Also

NameTypeConfigurationElementCollection<T, TCustomElementData> Members

Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.