CustomConfigurationElementCollection<T, TCustomElementData> Class

Represents a collection of NameTypeConfigurationElement objects.

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

Syntax

'Declaration
Public Class CustomConfigurationElementCollection(Of T As {New, NameTypeConfigurationElement}, TCustomElementData As New) _
    Inherits NameTypeConfigurationElementCollection(Of ConfigurationSourceElement, ConfigurationSourceElement)
public class CustomConfigurationElementCollection<T, TCustomElementData> : NameTypeConfigurationElementCollection<ConfigurationSourceElement, ConfigurationSourceElement>
where T : new(), NameTypeConfigurationElement
where TCustomElementData : new()
generic<typename T, typename TCustomElementData>
where T : gcnew(), NameTypeConfigurationElement
where TCustomElementData : gcnew()
public ref class CustomConfigurationElementCollection : public NameTypeConfigurationElementCollection<ConfigurationSourceElement^, ConfigurationSourceElement^>
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<ConfigurationSourceElement>
        Microsoft.Practices.EnterpriseLibrary.Common.Configuration.PolymorphicConfigurationElementCollection<ConfigurationSourceElement>
          Microsoft.Practices.EnterpriseLibrary.Common.Configuration.NameTypeConfigurationElementCollection<ConfigurationSourceElement, ConfigurationSourceElement>
            Microsoft.Practices.EnterpriseLibrary.Common.Configuration.CustomConfigurationElementCollection<T, TCustomElementData>

See Also

CustomConfigurationElementCollection<T, TCustomElementData> Members

Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace