ElementName Property

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 Value

Type: System.String

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

Override the ElementName property to name a custom ConfigurationElementCollection.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft