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:
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
Available since 2.0
Return to top
Show: