NameValueConfigurationCollection::Remove Method (NameValueConfigurationElement^)

 

Removes a NameValueConfigurationElement object from the collection based on the provided parameter.

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

public:
void Remove(
	NameValueConfigurationElement^ nameValue
)

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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: