ConfigurationElementCollection.IsElementRemovable Method (ConfigurationElement)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Indicates whether the specified ConfigurationElement can be removed from the ConfigurationElementCollection.

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

abstract IsElementRemovable : 
        element:ConfigurationElement -> bool
override IsElementRemovable : 
        element:ConfigurationElement -> bool


Type: System.Configuration.ConfigurationElement

The element to check.

Return Value

Type: System.Boolean

true if the specified ConfigurationElement can be removed from this ConfigurationElementCollection; otherwise, false. The default is true.

Query IsElementRemovable before removing a collection element.

.NET Framework
Available since 2.0
Return to top