Share via


Contact Class

Definition

Represents a contact on the user's device.

public ref class Contact
public class Contact
type Contact = class
Public Class Contact
Inheritance
Contact

Constructors

Contact()

Initializes a new instance of the Contact class.

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

Initializes a new instance of the Contact class with the given data.

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()

Returns a string representation of the current values of Contact.

Applies to