Compartir a través de


NamedElementCollection<T> 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.

Represents a collection of NamedConfigurationElement objects.

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

Syntax

'Declaration
PublicClassNamedElementCollection(Of T As {New, NamedConfigurationElement}) _
    Inherits ConfigurationElementCollection _
    Implements IEnumerable(Of T), IEnumerable
publicclassNamedElementCollection<T> : ConfigurationElementCollection, 
    IEnumerable<T>, IEnumerable
where T : new(), NamedConfigurationElement
generic<typename T>
where T : gcnew(), NamedConfigurationElement
publicref classNamedElementCollection : public ConfigurationElementCollection, 
    IEnumerable<T>, IEnumerable
JScript does not support generic types or methods.

Type Parameters

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.Validation.Configuration.ValidatedFieldReferenceCollection
        Microsoft.Practices.EnterpriseLibrary.Validation.Configuration.ValidatedMethodReferenceCollection
        Microsoft.Practices.EnterpriseLibrary.Validation.Configuration.ValidatedPropertyReferenceCollection
        Microsoft.Practices.EnterpriseLibrary.Validation.Configuration.ValidatedTypeReferenceCollection
        Microsoft.Practices.EnterpriseLibrary.Validation.Configuration.ValidationRulesetDataCollection

See Also

NamedElementCollection<T> 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.