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

KeyValueConfigurationCollection

Contains a collection of KeyValueConfigurationElement objects.
public string[] AllKeys { get; }

Gets the keys to all items contained in the KeyValueConfigurationCollection collection.

public KeyValueConfigurationElement this[string key] { get; }

Gets the KeyValueConfigurationElement object based on the supplied parameter.

Initializes a new instance of the KeyValueConfigurationCollection class.

public void Add(KeyValueConfigurationElement keyValue)

Adds a KeyValueConfigurationElement object to the collection based on the supplied parameters.

public void Add(string key, string value)

Adds a KeyValueConfigurationElement object to the collection based on the supplied parameters.

public void Clear()

Clears the KeyValueConfigurationCollection collection.

public void Remove(string key)

Removes a KeyValueConfigurationElement object from the collection.