ElementName Property
See Also 
SourceCode.Configuration Namespace > NamedElementCollectionBase<T> Class : ElementName Property



Glossary Item Box

Gets the name used to identify this collection of elements in the configuration file when overridden in a derived class.

Syntax

Visual Basic (Declaration) 
Protected Overrides MustOverride ReadOnly Property ElementName As String
Visual Basic (Usage)Copy Code
Dim instance As NamedElementCollectionBase(Of T)
Dim value As String
 
value = instance.ElementName
C# 
protected override abstract string ElementName {get;}
C++/CLI 
protected:
abstract property String^ ElementName {
   String^ get() override;
}

Property Value

The name of the collection; otherwise, an empty string. The default is an empty string.

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