Represents a strongly-typed collection of DateTime objects.
The following tables list the members exposed by the DateCollection type.
Name | Description | |
---|---|---|
Initializes a new instance of the DateCollection class. |
Name | Description | |
---|---|---|
Gets the number of dates contained in the collection. |
||
Gets a value indicating whether the collection is read-only. |
||
Gets or sets the date at the specified index in the collection. |
Name | Description | |
---|---|---|
Adds a date to the collection. |
||
Adds a range of dates to the collection. |
||
Replaces the current content of the collection with the specified date. |
||
Removes all dates from the collection. |
||
Determines whether the collection contains a specific date. |
||
Copies the dates of the collection to an System.Array, starting at a particular System.Array index. |
||
Returns an enumerator that iterates through the collection. |
||
Determines the index of a specific date in the collection. |
||
Inserts a date to the collection at the specified index. |
||
Removes the first occurrence of a specific date from the collection. |
||
Removes the collection date at the specified index. |
||
Removes a list of dates from the collection. |