21 base.List[index] = value;
53 return base.List.Add(item);
64 base.List.Insert(index, item);
72 return base.List.IndexOf(item);
81 return base.List.Contains(item);
88 base.List.Remove(item);
104 base.List.CopyTo(array, index);
111 protected override void OnInsert(
int index,
object item)
115 parent.OnAdd(
this, item);
124 protected override void OnSet(
int index,
object oldValue,
object newValue)
128 parent.OnRemove(
this, oldValue);
129 parent.OnAdd(
this, newValue);
139 parent.OnClear(
this);
147 protected override void OnRemove(
int index,
object item)
151 parent.OnRemove(
this, item);
158 xmlSchemaObjectCollection.
Add(
this);
159 return xmlSchemaObjectCollection;
164 base.InnerList.InsertRange(0, collToAdd);
override void OnClear()
OnClear is invoked before the standard Clear behavior. For more information, see OnClear method for T...
Provides the abstract base class for a strongly typed collection.
A collection of T:System.Xml.Schema.XmlSchemaObjects.
Represents the root class for the Xml schema object model hierarchy and serves as a base class for cl...
void Remove(XmlSchemaObject item)
Removes an T:System.Xml.Schema.XmlSchemaObject from the XmlSchemaObjectCollection.
override void OnSet(int index, object oldValue, object newValue)
OnSet is invoked before the standard Set behavior. For more information, see the OnSet method for T:S...
bool Contains(XmlSchemaObject item)
Indicates if the specified T:System.Xml.Schema.XmlSchemaObject is in the XmlSchemaObjectCollection.
new XmlSchemaObjectEnumerator GetEnumerator()
Returns an enumerator for iterating through the XmlSchemaObjects contained in the XmlSchemaObjectColl...
void CopyTo(XmlSchemaObject[] array, int index)
Copies all the T:System.Xml.Schema.XmlSchemaObjects from the collection into the given array,...
void Insert(int index, XmlSchemaObject item)
Inserts an T:System.Xml.Schema.XmlSchemaObject to the XmlSchemaObjectCollection.
int Add(XmlSchemaObject item)
Adds an T:System.Xml.Schema.XmlSchemaObject to the XmlSchemaObjectCollection.
override void OnInsert(int index, object item)
OnInsert is invoked before the standard Insert behavior. For more information, see OnInsert method T:...
override void OnRemove(int index, object item)
OnRemove is invoked before the standard Remove behavior. For more information, see the OnRemove metho...
int IndexOf(XmlSchemaObject item)
Gets the collection index corresponding to the specified T:System.Xml.Schema.XmlSchemaObject.
Represents the enumerator for the T:System.Xml.Schema.XmlSchemaObjectCollection.
XmlSchemaObjectCollection(XmlSchemaObject parent)
Initializes a new instance of the XmlSchemaObjectCollection class that takes an T:System....
XmlSchemaObjectCollection()
Initializes a new instance of the XmlSchemaObjectCollection class.