语言

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。

注解

在删除集合元素之前进行查询 IsElementRemovable 。

适用于