Search
DateCollection Members
Constructors Properties Methods
 


Represents a strongly-typed sorted collection of DateTime objects.

The following tables list the members exposed by the DateCollection type.

 Public Constructors

  Name Description

DateCollection

Initializes a new instance of the DateCollection class.

 Public Properties

  Name Description

Item

Gets or sets the DateTime located at the specified position within this collection.

 Public Methods

  Name Description

Add

Adds the specified DateTime object to this collection.

Clear

Removes all elements from the collection.

Contains

Determines whether this collection contains the specified DateTime instance.

CopyTo

Copies the elements of the DateCollection to another collection, starting from the specified index.

IndexOf

Returns the zero-based index of the first occurrence of the specified DateTime object in this collection.

Insert

Inserts a DateTime object into the collection at the specified index.

Remove

Removes the first occurrence of a DateTime object from this collection.

RemoveAt

Removes the DateTime object at the specified index of this collection.

 Protected Methods

  Name Description

OnClearComplete

CollectionBase.OnClearComplete override.

OnInsertComplete

CollectionBase.OnInsertComplete override.

OnRemoveComplete

CollectionBase.OnRemoveComplete override.

OnSetComplete

CollectionBase.OnSetComplete override.

 See Also