System.Web.UI.Design.DesignerAutoFormatCollection.Clear Method

Removes all formats from the collection.

Syntax

public void Clear ()

Remarks

Use the DesignerAutoFormatCollection.Clear method to remove all formats from the collection. To remove a specific format from the collection, use the DesignerAutoFormatCollection.Remove(DesignerAutoFormat) method. To remove a format at a particular index, use the DesignerAutoFormatCollection.RemoveAt(int) method.

Requirements

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