System.Web.UI.Design.DesignerRegionCollection.RemoveAt Method

Removes the System.Web.UI.Design.DesignerRegion 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.DesignerRegion to remove.

Remarks

Use the DesignerRegionCollection.RemoveAt(int) method to remove a region at a particular index from the collection. To remove a specified region from the collection, use the DesignerRegionCollection.Remove(DesignerRegion) method. To remove all regions from the collection, use the DesignerRegionCollection.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