IsElementName Method
See Also 
SourceCode.Configuration Namespace > ExtensibleConfigurationElementCollection Class : IsElementName Method



elementName
The name of the element to verify.

Glossary Item Box

Indicates whether the specified System.Configuration.ConfigurationElement exists in the System.Configuration.ConfigurationElementCollection.

Syntax

Visual Basic (Declaration) 
Protected Overrides Function IsElementName( _
   ByVal elementName As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ExtensibleConfigurationElementCollection
Dim elementName As String
Dim value As Boolean
 
value = instance.IsElementName(elementName)
C# 
protected override bool IsElementName( 
   string elementName
)
C++/CLI 
protected:
bool IsElementName( 
   String^ elementName
) override 

Parameters

elementName
The name of the element to verify.

Return Value

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

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also