NameValueConfigurationCollection::Remove Method (NameValueConfigurationElement^)
.NET Framework (current version)
Removes a NameValueConfigurationElement object from the collection based on the provided parameter.
Assembly: System.Configuration (in System.Configuration.dll)
Parameters
- nameValue
-
Type:
System.Configuration::NameValueConfigurationElement^
A NameValueConfigurationElement object.
Use the Remove method to remove a NameValueConfigurationElement from the collection. Override in a derived class if custom behavior is required when the element is removed.
The following code example demonstrates how to use the Remove method. This code example is part of a larger example provided for the NameValueConfigurationCollection class.
.NET Framework
Available since 2.0
Available since 2.0
Show: