System.Web.UI.WebControls.SelectedDatesCollection Class

Encapsulates a collection of DateTime objects that represent the selected dates in a System.Web.UI.WebControls.Calendar control. This class cannot be inherited.

See Also: SelectedDatesCollection Members

Syntax

public sealed class SelectedDatesCollection : ICollection

Remarks

Use this class to programmatically manage a collection of DateTime objects that represent the selected dates in a System.Web.UI.WebControls.Calendar control. This class is commonly used to add or remove dates from the collection.

This collection stores only whole dates. The time portion of each DateTime is removed. The dates are stored in ascending order. If there are duplicate dates, only one date is stored in the collection.

Requirements

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