The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ConfigurationElementCollection::BaseAdd Method (ConfigurationElement^)
.NET Framework (current version)
Adds a configuration element to the ConfigurationElementCollection.
Assembly: System.Configuration (in System.Configuration.dll)
Parameters
- element
-
Type:
System.Configuration::ConfigurationElement^
The ConfigurationElement to add.
Use the BaseAdd method to add a new ConfigurationElement to the collection. Override it in a derived class if custom behavior is required when the element is added.
When adding, an element is considered a duplicate only if the keys are identical but the values are different. Elements with identical keys and values are accepted silently because the elements do not compete. However, an element with an identical key but a different value cannot be added because there is no logic to determine which of the competing values should be honored.
.NET Framework
Available since 2.0
Available since 2.0
Show: