Editar

Compartir a través de


ConfigurationElementCollection.IsElementRemovable Method

Definition

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

protected:
 virtual bool IsElementRemovable(System::Configuration::ConfigurationElement ^ element);
protected virtual bool IsElementRemovable (System.Configuration.ConfigurationElement element);
abstract member IsElementRemovable : System.Configuration.ConfigurationElement -> bool
override this.IsElementRemovable : System.Configuration.ConfigurationElement -> bool
Protected Overridable Function IsElementRemovable (element As ConfigurationElement) As Boolean

Parameters

element
ConfigurationElement

The element to check.

Returns

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

Remarks

Query IsElementRemovable before removing a collection element.

Applies to