Z-SoftNet Developer Network Library www.zsoftnet.com

DateTimeCollection Methods

The methods of the DateTimeCollection class are listed below. For a complete list of DateTimeCollection class members, see the DateTimeCollection Members topic.

Public Instance Methods

Add adds the Date object c to the collection.
Clear (inherited from CollectionBase)Removes all objects from the CollectionBase instance.
Contains checks if collection contains the Date object.
CopyTo copies an item from one place to onother.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
FindDate Searches for Date returns the Date if found.
GetEnumerator (inherited from CollectionBase)Returns an enumerator that can iterate through the CollectionBase instance.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
IndexOf returns the index of a Date object if present.
Insert inserts a Date object at specific index position.
Remove removes a Date object from the collection.
RemoveAt (inherited from CollectionBase)Removes the element at the specified index of the CollectionBase instance.
ToShortDate Gets the string representation of all the objects in the collection in Short Date Format.
ToString Gets the string representation of all the objects in the collection.

Explicit Interface Implementations

ICollection.CopyTo (inherited from CollectionBase)
IList.Add (inherited from CollectionBase)
IList.Contains (inherited from CollectionBase)
IList.IndexOf (inherited from CollectionBase)
IList.Insert (inherited from CollectionBase)
IList.Remove (inherited from CollectionBase)

See Also

DateTimeCollection Class | ZsoftNet.iCalendar Namespace