ConfigurationElementCollection.IsElementRemovable Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.