This documentation is archived and is not being maintained.

ConfigurationElementCollection.ElementName Property

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

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

protected virtual string ElementName { get; }
/** @property */
protected String get_ElementName ()

protected function get ElementName () : String

Not applicable.

Property Value

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

Override the ElementName property to name a custom ConfigurationElementCollection.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: