Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IsElementRemovable Method

ConfigurationElementCollection.IsElementRemovable Method

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

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

protected virtual bool IsElementRemovable(
	ConfigurationElement element
)

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft