Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft