Skip to main content
A newer version of this page is available. .
Tab

DateTimeCollection Members

A collection of DateTime objects specifying dates that should be disabled for selection.

Constructors

Name Description
DateTimeCollection() Initializes a new instance of the DateTimeCollection class with default settings.
DateTimeCollection(DatePickerType) Initializes a new instance of the DateTimeCollection class.

Methods

Name Description
Add(DateTime) Creates a new item with the specified settings and adds it to the collection.
AddRange(IEnumerable<DateTime>) Adds the specified range of dates to the collection.
Contains(DateTime) Determines whether the collection contains the specified item.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
IndexOf(DateTime) Returns the specified item’s position within the collection.
Insert(Int32, DateTime) Inserts the specified item into the collection at the specified index.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Remove(DateTime) Removes the specified item from the collection.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also