ConfigurationElementCollection.IsElementRemovable Method (ConfigurationElement)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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

Parameters

element
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
Show: