System.Web.UI.WebControls.SelectedDatesCollection.Clear Method

Removes all DateTime objects from the collection.

Syntax

public void Clear ()

Remarks

Use this method to remove all DateTime objects from the System.Web.UI.WebControls.SelectedDatesCollection collection and set the SelectedDatesCollection.Count property to 0.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0