Inserts an XmlSchemaObject to the XmlSchemaObjectCollection.
Assembly: System.Xml (in System.Xml.dll)
index is less than zero.
index is greater than Count.
If Count already equals the capacity, the capacity of the list is doubled by automatically reallocating the internal array before the new element is inserted.
If index is equal to Count, value is added to the end of XmlSchemaObjectCollection.
The elements that follow the insertion point move down to accommodate the new element.