System.Web.UI.Design.TemplateGroupCollection.Clear Method

Removes all groups from the collection.

Syntax

public void Clear ()

Remarks

Use the TemplateGroupCollection.Clear method to remove all groups from the collection. To remove a specific group from the collection, use the TemplateGroupCollection.Remove(TemplateGroup) method. To remove a group at a particular index, use the TemplateGroupCollection.RemoveAt(int) method.

Requirements

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