DesignerRegionCollection::Clear Method ()

 

Removes all regions from the collection.

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

public:
void Clear()

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

.NET Framework
Available since 2.0
Return to top
Show: