SelectedDatesCollection Members
.NET Framework 3.0
Encapsulates a collection of System.DateTime objects that represent the selected dates in a Calendar control. This class cannot be inherited.
The following tables list the members exposed by the SelectedDatesCollection type.
| Name | Description | |
|---|---|---|
| SelectedDatesCollection | Initializes a new instance of the SelectedDatesCollection class with the specified date list. |
| Name | Description | |
|---|---|---|
| Count | Gets the number of System.DateTime objects in the SelectedDatesCollection collection. |
| IsReadOnly | Gets a value indicating whether the SelectedDatesCollection collection is read-only. |
| IsSynchronized | Gets a value indicating whether access to the SelectedDatesCollection collection is synchronized (thread safe). |
| Item | Gets a System.DateTime object at the specified index in the SelectedDatesCollection collection. |
| SyncRoot | Gets the object that can be used to synchronize access to the SelectedDatesCollection collection. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Add | Appends the specified System.DateTime object to the end of the SelectedDatesCollection collection. |
| Clear | Removes all System.DateTime objects from the collection. |
| Contains | Returns a value indicating whether the SelectedDatesCollection collection contains the specified System.DateTime object. |
| CopyTo | Copies the items from the SelectedDatesCollection collection to the specified System.Array, starting with the specified index. |
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| GetEnumerator | Returns an System.Collections.IEnumerator-implemented object that contains all System.DateTime objects within the SelectedDatesCollection collection. |
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object) |
| GetType | Gets the Type of the current instance. (inherited from Object) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| Remove | Removes the specified System.DateTime object from the SelectedDatesCollection collection. |
| SelectRange | Adds the specified range of dates to the SelectedDatesCollection collection. |
| ToString | Returns a String that represents the current Object. (inherited from Object) |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
Community Additions
ADD
Show: