Click or drag to resize
DateTimeCollection Methods

The DateTimeCollection type exposes the following members.

Methods
  NameDescription
Public methodAdd
Adds a previously created DateTime object to the end of the DateTimeCollection.
Public methodAddRange
Adds an array of previously created DateTime objects to the collection.
Public methodBeginUpdate
Public methodCanAdd
CanAdd method verify whether the date can be add to the collection.
Public methodClear
Removes all DateTime objects from the collection.
Public methodClone
Creates a new DateTimeCollection object that is a copy of the current instance.
Public methodContains
Determines whether the specified DateTime object is a member of the collection.
Public methodEndUpdate
Public methodGetEnumerator
Returns an enumerator that can be used to iterate through the DateTime collection.
Public methodIndexOf
Returns the index of the specified DateTime object in the collection.
Public methodInsert
Inserts an existing DateTime object into the DateTimeCollection at the specified location.
Public methodRemove
Removes the specified DateTime object from the DateTimeCollection.
Public methodRemoveRange(DateTime)
Public methodRemoveRange(Int32, Int32)
Removes a range of DateTime elements from the DateTimeCollection.
Public methodToArray
Copies the elements of the DateTime collection to a new DateTime array.
Protected methodUpdateOwnerVisuals
Top
Extension Methods
See Also