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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.