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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET