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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for