System.Web.UI.Design.TemplateGroupCollection.RemoveAt Method

Removes the System.Web.UI.Design.TemplateGroup object at the specified index within the collection.

Syntax

public void RemoveAt (int index)

Parameters

index
The zero-based index within the collection of the System.Web.UI.Design.TemplateGroup to remove.

Remarks

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.

Note:

When you remove an item from the collection, the indexes change for subsequent items in the collection.

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 2.0.0.0