AssociatedPersonsList

AssociatedPersonsList class

List of associated persons for a contact

public class AssociatedPersonsList : IList<AssociatedPerson>

Constructors

Name Description
AssociatedPersonsList() The default constructor.

Properties

Name Description
Assistant { get; set; } Default assistant
Brother { get; set; } Brother
Child { get; set; } Child
Count { get; } Gets the number of elements contained in the ICollection.
DomesticPartner { get; set; } Default domestic partner
Father { get; set; } Father
Friend { get; set; } Default friend
IsReadOnly { get; } Gets a value indicating whether the list is read-only.
IsSynchronized { get; } Gets a value indicating whether access to the ICollection is synchronized (thread safe).
Item { get; set; } Gets or sets the element at the specified index.
Manager { get; set; } Default manager
Mother { get; set; } Mother
Parent { get; set; } Parent
Partner { get; set; } Default partner
ReferredBy { get; set; } Default referred by
Relative { get; set; } Relative
Sister { get; set; } Sister
Spouse { get; set; } Spouse
SyncRoot { get; } Gets an object that can be used to synchronize access to the ICollection.

Methods

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

See Also