Removes the System.Web.UI.Design.TemplateGroup object at the specified index within the collection.
- index
- The zero-based index within the collection of the System.Web.UI.Design.TemplateGroup to remove.
Use the TemplateGroupCollection.RemoveAt(int) method to remove a group at a particular index from the collection. To remove a specified group from the collection, use the TemplateGroupCollection.Remove(TemplateGroup) method. To remove all the groups from the collection, use the TemplateGroupCollection.Clear method.
When you remove an item from the collection, the indexes change for subsequent items in the collection.