ConfigurationElementCollection.IsElementName(String) 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 exists in the ConfigurationElementCollection.
protected:
virtual bool IsElementName(System::String ^ elementName);
protected virtual bool IsElementName (string elementName);
abstract member IsElementName : string -> bool
override this.IsElementName : string -> bool
Protected Overridable Function IsElementName (elementName As String) As Boolean
Parameters
- elementName
- String
The name of the element to verify.
Returns
true
if the element exists in the collection; otherwise, false
. The default is false
.
Remarks
Override the IsElementName method to provide custom behavior.
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.