<PackageReference Include="System.Configuration.ConfigurationManager" Version="6.0.0-preview.3.21201.4" />

SchemeSettingElementCollection

Represents a collection of SchemeSettingElement objects.
namespace System.Configuration { [ConfigurationCollection(typeof(SchemeSettingElement), CollectionType = ConfigurationElementCollectionType.AddRemoveClearMap, AddItemName = "add", ClearItemsName = "clear", RemoveItemName = "remove")] public sealed class SchemeSettingElementCollection : ConfigurationElementCollection { internal const string AddItemName = "add"; internal const string ClearItemsName = "clear"; internal const string RemoveItemName = "remove"; public override ConfigurationElementCollectionType CollectionType => ConfigurationElementCollectionType.AddRemoveClearMap; public SchemeSettingElement this[int index] { get { return (SchemeSettingElement)BaseGet(index); } } public new SchemeSettingElement this[string name] { get { return (SchemeSettingElement)BaseGet(name); } } public SchemeSettingElementCollection() { base.AddElementName = "add"; base.ClearElementName = "clear"; base.RemoveElementName = "remove"; } public int IndexOf(SchemeSettingElement element) { return BaseIndexOf(element); } protected override ConfigurationElement CreateNewElement() { return new SchemeSettingElement(); } protected override object GetElementKey(ConfigurationElement element) { return ((SchemeSettingElement)element).Name; } } }