ConfigurationElementCollection.IsElementName Method (String)

 

Indicates whether the specified ConfigurationElement exists in the ConfigurationElementCollection.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

abstract IsElementName : 
        elementName:string -> bool
override IsElementName : 
        elementName:string -> bool

Parameters

elementName
Type: System.String

The name of the element to verify.

Return Value

Type: System.Boolean

true if the element exists in the collection; otherwise, false. The default is false.

Override the IsElementName method to provide custom behavior.

.NET Framework
Available since 2.0
Return to top
Show: