Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

ConfigurationElementCollectionType Enumeration

Specifies the type of a ConfigurationElementCollectionType object.

Namespace: System.Configuration
Assembly: System.Configuration (in system.configuration.dll)

public enum ConfigurationElementCollectionType
public enum ConfigurationElementCollectionType
public enum ConfigurationElementCollectionType
 Member nameDescription
AddRemoveClearMapThe default type of ConfigurationElementCollection. Collections of this type contain elements that can be merged across a hierarchy of configuration files. At any particular level within such a hierarchy, add, remove, and clear directives are used to modify any inherited properties and specify new ones. 
AddRemoveClearMapAlternateSame as AddRemoveClearMap, except that this type causes the ConfigurationElementCollection object to sort its contents such that inherited elements are listed last. 
BasicMapCollections of this type contain elements that apply to the level at which they are specified, and to all child levels. A child level cannot modify the properties specified by a parent element of this type. 
BasicMapAlternateSame as BasicMap, except that this type causes the ConfigurationElementCollection object to sort its contents such that inherited elements are listed last. 

This enumeration contains all the possible return values for the CollectionType property. It is used by the configuration system during run time to correctly merge configuration settings. It is also used when creating a custom class that extends ConfigurationElementCollection.

By default, the type of a ConfigurationElementCollection object is AddRemoveClearMap. If a BasicMap is required, override the ConfigurationElementCollectionType property when extending ConfigurationElementCollection.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.