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 SelectedDatesCollection type exposes the following members.

  NameDescription
Public method SelectedDatesCollection Initializes a new instance of the SelectedDatesCollection class with the specified date list.
Top

  NameDescription
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 Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (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

  NameDescription
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

  NameDescription
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

Community Additions

ADD
Show:
© 2014 Microsoft