Removes an System.Xml.Schema.XmlSchemaObject from the XmlSchemaObjectCollection.
- item
- The System.Xml.Schema.XmlSchemaObject to remove.
This method performs a linear search; therefore, the average execution time is proportional to CollectionBase.Count. That is, this method is an O(n) operation, where n is CollectionBase.Count.
This method determines equality by calling object.Equals(object, object).
The elements that follow the removed element move up to occupy the vacated spot.