{
}
+ public override ConfigurationElementCollectionType CollectionType {
+ get { return ConfigurationElementCollectionType.BasicMap; }
+ }
+
+ // It is undocumented.
+ protected override string ElementName {
+ get { return "knownType"; }
+ }
+
+ public TypeElement this [int index] {
+ get { return (TypeElement) BaseGet (index); }
+ set {
+ BaseRemoveAt (index);
+ Add (value);
+ }
+ }
+
public void Add (TypeElement element)
{
BaseAdd (element);
BaseClear ();
}
- public bool Contains (string typeName)
- {
- return BaseGet (typeName) != null;
- }
-
public int IndexOf (TypeElement element)
{
return BaseIndexOf (element);