ServiceModelConfigurationElementCollection<ConfigurationElementType>.BaseAdd Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the specified ConfigurationElement object to this collection.
protected:
override void BaseAdd(System::Configuration::ConfigurationElement ^ element);
protected override void BaseAdd (System.Configuration.ConfigurationElement element);
override this.BaseAdd : System.Configuration.ConfigurationElement -> unit
Protected Overrides Sub BaseAdd (element As ConfigurationElement)
Parameters
- element
- ConfigurationElement
The configuration element to add.
Exceptions
element
is null
or empty.
The configuration file contains an existing element identical to element
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.