Språk

ConfigurationElementCollection.IsElementRemovable Metod

Definition

Anger om den angivna ConfigurationElement kan tas bort från 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

Parametrar

element
ConfigurationElement

Elementet som ska kontrolleras.

Returer

true om den angivna ConfigurationElement kan tas bort från detta ConfigurationElementCollection, annars , false. Standardvärdet är true.

Kommentarer

Fråga IsElementRemovable innan du tar bort ett samlingselement.

Gäller för