Class EventList

EventList class

List of events for a contact

public class EventList : IList<CustomerEvent>

Constructors

NameDescription
EventList()The default constructor.

Properties

NameDescription
Anniversary { get; set; }Wedding anniversary
Birthday { get; set; }Birthday
Count { get; }Gets the number of elements contained in the ICollection.
IsReadOnly { get; }Gets a value indicating whether the list is read-only.
Item { get; set; }Gets or sets the element at the specified index.

Methods

NameDescription
Add(CustomerEvent)Adds an item to the list.
Clear()Removes all items from the list.
Contains(CustomerEvent)Determines whether the list contains a specific value.
CopyTo(CustomerEvent[], int)Copies the elements to an array, starting at a particular array index.
GetEnumerator()Returns an enumerator that iterates through a collection.
IndexOf(CustomerEvent)Determines the index of a specific item in the list.
Insert(int, CustomerEvent)Inserts an item to the list at the specified index.
Remove(CustomerEvent)Removes the first occurrence of a specific object from the list.
RemoveAt(int)Removes the list item at the specified index.

See Also