PhoneNumberList

PhoneNumberList class

List of phone numbers for a contact.

public class PhoneNumberList : IList<PhoneNumber>

Constructors

Name Description
PhoneNumberList() The default constructor.

Properties

Name Description
Assistant { get; set; } Default assistant phone number
Callback { get; set; } Default callback phone number
Car { get; set; } Default car phone number
Company { get; set; } Default company phone number
Count { get; } Gets the number of elements contained in the ICollection.
Custom { get; set; } Default custom phone category
Fax { get; set; } Default fax number
Home { get; set; } Default home phone number
HomeFax { get; set; } Default home fax number
Isdn { get; set; } Default isdn phone number
IsReadOnly { get; } Gets a value indicating whether the list is read-only.
Item { get; set; } Gets or sets the element at the specified index.
Mobile { get; set; } Default mobile phone number
Pager { get; set; } Default pager number
Prefered { get; set; } Default primary phone number
Radio { get; set; } Default radio phone number
Telex { get; set; } Default telex
TtyTdd { get; set; } Default Tty/Tdd
Work { get; set; } Default work phone number
WorkFax { get; set; } Default work fax number

Methods

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

See Also