IsElementRemovable Method

ConfigurationElementCollection.IsElementRemovable Method (ConfigurationElement)

 

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

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

Protected Overridable Function IsElementRemovable (
	element As ConfigurationElement
) As Boolean

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:
© 2016 Microsoft