語言

ConfigurationElementCollection.IsElementRemovable 方法

定義

指出是否可以從 ConfigurationElement中移除指定的 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

參數

element
ConfigurationElement

要檢查的元素。

傳回

true 若指定 可 ConfigurationElement 從中 ConfigurationElementCollection移除;否則, false。 預設值為 true。

備註

在移除集合元素前先查詢 IsElementRemovable 。

適用於