Tab
A newer version of this page is available. Switch to the current version.

CalendarSelection Methods

Represents a collection of dates selected within the calendar.
Name Description
Add(DateTime) Adds the specified date to the collection.
Add(DateTime[]) Adds an array of dates to the collection.
AddRange(DateTime, DateTime) Adds the specified range of dates to the collection.
Assign(CalendarSelection) Copies items from the collection specified to the current one.
Clear() Removes all items from the collection.
Contains(DateTime) Determines whether the collection contains the specified date.
CopyTo(DateTime[], Int32) Copies the items from the collection to the specified array, starting at the specified index in the array object.
Equals(CalendarSelection) Compares this CalendarSelection with the specified object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetEnumerator() Returns an IEnumerator instance for the CalendarSelection collection.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
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 date from the collection.
Remove(DateTime[]) Removes the specified array of dates from the collection.
RemoveRange(DateTime, DateTime) Removes the specified range of dates from the collection.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also