ConfigurationElementCollection.IsElementName Method (String)

 

Indicates whether the specified ConfigurationElement exists in the ConfigurationElementCollection.

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

protected virtual bool IsElementName(
	string elementName
)

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: