Share via


Contact Class

Definition

This type contains information about a particular contact.

public class Contact
Inheritance
System.Object
Contact

Constructors

Contact()

Constructs a new instance of Contact.

Contact(String, String, String, String, String, String, IEnumerable<ContactPhone>, IEnumerable<ContactEmail>, String)

Constructs a new instance of Contact using the various parameters.

Properties

DisplayName

Gets or sets the display name of the contact.

Emails

Gets or sets a collection of email addresses of the contact.

FamilyName

Gets or sets the family name or last name of the contact.

GivenName

Gets or sets the given name or first name of the contact.

Id

Gets or sets the identifier of the contact.

MiddleName

Gets or sets the middle name(s) of the contact.

NamePrefix

Gets or sets the name prefix of the contact.

NameSuffix

Gets or sets the name suffix of the contact.

Phones

Gets or sets a collection of phone numbers of the contact.

Methods

ToString()

DisplayName

Applies to