System.Web.UI.Design.DesignerRegionCollection.Clear Method

Removes all regions from the collection.

Syntax

public void Clear ()

Remarks

Use the DesignerRegionCollection.Clear method to remove all regions from the collection. To remove a specific region from the collection, use the DesignerRegionCollection.Remove(DesignerRegion) method. To remove a region at a particular index, use the DesignerRegionCollection.RemoveAt(int) method.

Requirements

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