The C1DateCollection type exposes the following members.

Constructors

  Name Description
Public method C1DateCollection
Initialize a new instance of C1DateCollection.

Methods

  Name Description
Public method Add(DateTime)
Adds a C1Date object that wrapps the specified date in this collection.
Public method Add(C1Date)
Adds a C1Date object in this collection.
Public method AddRange(array<C1Date>[]()[][])
Adds a range of C1Date objects.
Public method AddRange(DateTime, DateTime)
Adds a range of C1Date objects that represents the dates.
Public method Clear
Clears the collection.
Public method Clone
Clone the C1DateCollection.
Public method Contains(DateTime)
Determines whether the date is contained by one of wrapper in this collection.
Public method Contains(C1Date)
Determines whether the C1Date is contained in this collection.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public method GetEnumerator
Returns an enumerator that iterates through the CollectionBase instance.
(Inherited from CollectionBase.)
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.)
Public method IndexOf(DateTime)
Detects the index of C1Date object that represents the specified date.
Public method IndexOf(Object)
Detects the index of C1Date object that represents the specified date.
Public method Insert
Inserts the C1Date object in this collection.
Public method Remove
Removes the C1Date object from the collection.
Public method RemoveAt
Removes the C1Date object from the position.
Public method Sort()()()()
Sorts the C1Date collection.
Public method Sort(IComparer)
Sorts the C1Date collection by using the specified comparer.
Public method ToArray
Converts the C1Date collection to array.
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  Name Description
Public property Capacity
Gets or sets the number of elements that the CollectionBase can contain.
(Inherited from CollectionBase.)
Public property Count
Gets the number of elements contained in the CollectionBase instance. This property cannot be overridden.
(Inherited from CollectionBase.)
Public property Item
Indexer of this collection.

See Also