ConfigurationPropertyCollection::Remove Method (String^)
.NET Framework (current version)
Removes a configuration property from the collection.
Assembly: System.Configuration (in System.Configuration.dll)
Parameters
- name
-
Type:
System::String^
The ConfigurationProperty to remove.
Return Value
Type: System::Booleantrue if the specified ConfigurationProperty was removed; otherwise, false.
A return value of false indicates that the specified ConfigurationProperty object was not contained within the collection.
The following example shows how to use the Remove method.
The following example shows how to call the above method and save the changes to the configuration file.
.NET Framework
Available since 2.0
Available since 2.0
Show: