Export (0) Print
Expand All

SelectedDatesCollection Members

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
Public method SelectedDatesCollection Initializes a new instance of the SelectedDatesCollection class with the specified date list.
Top

  Name Description
Public property Count Gets the number of System.DateTime objects in the SelectedDatesCollection collection.
Public property IsReadOnly Gets a value indicating whether the SelectedDatesCollection collection is read-only.
Public property IsSynchronized Gets a value indicating whether access to the SelectedDatesCollection collection is synchronized (thread safe).
Public property Item Gets a System.DateTime object at the specified index in the SelectedDatesCollection collection.
Public property SyncRoot Gets the object that can be used to synchronize access to the SelectedDatesCollection collection.
Top

(see also Protected Methods )
  Name Description
Public method Add Appends the specified System.DateTime object to the end of the SelectedDatesCollection collection.
Public method Clear Removes all System.DateTime objects from the collection.
Public method Contains Returns a value indicating whether the SelectedDatesCollection collection contains the specified System.DateTime object.
Public method CopyTo Copies the items from the SelectedDatesCollection collection to the specified System.Array, starting with the specified index.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetEnumerator Returns an System.Collections.IEnumerator-implemented object that contains all System.DateTime objects within the SelectedDatesCollection collection.
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Remove Removes the specified System.DateTime object from the SelectedDatesCollection collection.
Public method SelectRange Adds the specified range of dates to the SelectedDatesCollection collection.
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method 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.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft