4 [ConfigurationCollection(typeof(SchemeSettingElement), CollectionType = ConfigurationElementCollectionType.AddRemoveClearMap, AddItemName =
"add", ClearItemsName =
"clear", RemoveItemName =
"remove")]
7 internal const string AddItemName =
"add";
9 internal const string ClearItemsName =
"clear";
11 internal const string RemoveItemName =
"remove";
15 public override ConfigurationElementCollectionType
CollectionType => ConfigurationElementCollectionType.AddRemoveClearMap;
43 base.AddElementName =
"add";
44 base.ClearElementName =
"clear";
45 base.RemoveElementName =
"remove";
53 return BaseIndexOf(element);
56 protected override ConfigurationElement CreateNewElement()
61 protected override object GetElementKey(ConfigurationElement element)
63 return ((SchemeSettingElement)element).Name;
int IndexOf(SchemeSettingElement element)
The index of the specified T:System.Configuration.SchemeSettingElement.
override ConfigurationElementCollectionType CollectionType
Gets the default collection type of T:System.Configuration.SchemeSettingElementCollection.
Represents a collection of T:System.Configuration.SchemeSettingElement objects.
Represents an element in a T:System.Configuration.SchemeSettingElementCollection class.
SchemeSettingElementCollection()
Initializes a new instance of the T:System.Configuration.SchemeSettingElementCollection class.