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

要檢查的項目。

傳回

如果可以從這個 ConfigurationElement 移除指定的 ConfigurationElementCollection 則為 true,否則為 false。 預設為 true

備註

在移除集合專案之前查詢 IsElementRemovable

適用於