Class EmailAddressList

EmailAddressList class

List of email addresses for a contact

public class EmailAddressList : IList<EmailAddress>

Constructors

NameDescription
EmailAddressList()The default constructor.

Properties

NameDescription
Count { get; }Gets the number of elements contained in the ICollection.
Email { get; set; }Default email3 address.
Email1 { get; set; }Default email1 address.
Email2 { get; set; }Default email2 address.
Email3 { get; set; }Default email3 address.
Home { get; set; }Default home email address.
IsReadOnly { get; }Gets a value indicating whether the list is read-only.
Item { get; set; }Default email address for specified category. (2 indexers)
SyncRoot { get; }Gets an object that can be used to synchronize access to the ICollection.
Work { get; set; }Default work email address.

Methods

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

See Also