June 2002
Intermediate to advanced
816 pages
28h 12m
English
SelectedDatesCollection
This class represents a collection of System.DateTime objects. It
is used by the SelectedDates
property of the Calendar class to
provide all the dates that have been selected.
The Calendar.SelectedDates property is
used when the Calendar.SelectionMode
property is set to either CalendarSelectionMode.DayWeek or CalendarSelectionMode.DayWeekMonth, both
of which allow multiple selections (by week or month). If the Calendar.SelectionMode property is set
to CalendarSelectionMode.Day, the Calendar.SelectedDate property should be
used to determine the selected date instead.
Public NotInheritable Class SelectedDatesCollection : Implements ICollection, IEnumerable ' Public Constructors Public Sub New( ByVal dateList As System.Collections.ArrayList) ' Public Instance Properties Public ReadOnly Property Count As Integer Implements ICollection.Count Public ReadOnly Property IsReadOnly As Boolean Public ReadOnly Property IsSynchronized As Boolean Implements ICollection.IsSynchronized Public Default ReadOnly Property Item( ByVal index As Integer) As Date Public ReadOnly Property SyncRoot As Object Implements ICollection.SyncRoot ' Public Instance Methods Public Sub Add(ByVal date As Date) Public Sub Clear() Public Function Contains(ByVal date As Date) As Boolean Public Sub CopyTo(ByVal array As Array, ByVal index As Integer) Implements ICollection.CopyTo Public Function GetEnumerator( ) As IEnumerator Implements IEnumerable.GetEnumerator Public Sub Remove ...
Read now
Unlock full access