Click or drag to resize
DateTimeCollection Methods

The DateTimeCollection type exposes the following members.

Methods
  Name Description
Public method Add
Adds a DateTime object to the collection of CalendarDays.
Public method AddRange
Public method Clear
Removes all DateTime objects in the collection of CalendarDays.
Public method Clone
Public method CloneInner
Public method Contains
Checks whether a specific DateTime object is in the collection of CalendarDays.
Public method CopyTo(DateTime)
Public method CopyTo(Array, Int32)
Public method CopyTo(DateTime, Int32)
Public method IndexOf
Returns a zero based index of a DateTime object depending on the passed index.
Public method Insert
Adds a DateTime object in the collection at the specified index.
Public method Remove
Deletes a DateTime object from the collection.
Public method RemoveAt
Deletes the DateTime object from the collection at the specified index.
Public method RemoveRange
Public method Reverse
Reverses the order of the elements in the entire collection.
Public method SelectRange
Public method Sort
Sorts the elements in the entire DateTimeCollection using the IComparable implementation of each element.
Public method Sort(IComparer)
Sorts the elements in the entire DateTimeCollection using the specified IComparer interface.
Public method Sort(Int32, Int32, IComparer)
Sorts the elements in the specified range using the specified IComparer interface.
Public method ToArray
Copies the elements of DateTimeCollection to a new Array of DateTime elements.
Top
See Also