DayTypeCollection class

Represents a collection of DayType objects.

public class DayTypeCollection : IList<DayType>


Name Description
Count { get; } Gets the number of elements contained in this collection.
IsReadOnly { get; } Gets a value indicating whether if this collection is read-only; otherwise, false.
Item { get; set; } Returns or sets the element at the specified index.


Name Description
Add(DayType) Adds the specified item to this collection.
Clear() Removes all items from this collection.
Contains(DayType) Returns true if the specified item is found in this collection; otherwise, false.
CopyTo(DayType[], int) Copies the elements of this collection to the specified array, starting at the specified array index.
GetEnumerator() Returns an enumerator for this collection.
IndexOf(DayType) Determines the index of the specified item in this collection.
Insert(int, DayType) Inserts the specified item at the specified index.
Remove(DayType) Removes the first occurrence of a specific object from this collection.
RemoveAt(int) Removes an item at the specified index.

See Also