ConfigurationElementCollection.ElementName Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Show: