<PackageReference Include="System.Configuration.ConfigurationManager" Version="5.0.0-preview.1.20120.5" />

NameValueSectionHandler

Provides name/value-pair configuration information from a configuration section.
protected virtual string KeyAttributeName { get; }

Gets the XML attribute name to use as the key in a key/value pair.

protected virtual string ValueAttributeName { get; }

Gets the XML attribute name to use as the value in a key/value pair.

Initializes a new instance of the NameValueSectionHandler class.

public object Create(object parent, object context, XmlNode section)

Creates a new configuration handler and adds it to the section-handler collection based on the specified parameters.