MapiContact Class

A contact (IPM.Contact).

public sealed class MapiContact : MapiMessage
Inheritance
MapiMessage MapiContact

Properties

NameDescription
BirthdayGets the birthday.
BusinessAddressGets the business address.
BusinessFaxNumberGets the business fax number.
BusinessHomePageGets the address of the business web page.
BusinessTelephoneNumberGets the business telephone number.
CompanyNameGets the name of the company.
DepartmentNameGets the department.
DisplayNameGets the display name of the contact.
DisplayNamePrefixGets the title before the name, such as "Dr.".
Email1AddressGets the first email address.
Email1AddressTypeGets the type of the first email address, such as SMTP.
Email1DisplayNameGets the display name of the first email address.
Email2AddressGets the second email address.
Email2DisplayNameGets the display name of the second email address.
Email3AddressGets the third email address.
Email3DisplayNameGets the display name of the third email address.
EmailAddressesGets the email addresses of the contact that are set, in order.
FileAsGets the name the contact is filed under, such as "Last, First".
GenerationGets the suffix after the name, such as "Jr.".
GivenNameGets the given (first) name.
HomeAddressGets the home address.
HomeTelephoneNumberGets the home telephone number.
InitialsGets the initials.
InstantMessagingAddressGets the instant messaging address.
JobTitleGets the job title.
MiddleNameGets the middle name.
MobileTelephoneNumberGets the mobile telephone number.
NicknameGets the nickname.
OfficeLocationGets the office location.
PersonalHomePageGets the address of the personal web page.
SurnameGets the surname (last name).

Gets the birthday.

public DateTime? Birthday { get; }

Property value

DateTime?

BusinessAddress

MapiContact.cs

Gets the business address.

public MapiPostalAddress BusinessAddress { get; }

Property value

MapiPostalAddress

BusinessFaxNumber

MapiContact.cs

Gets the business fax number.

public string? BusinessFaxNumber { get; }

Property value

string?

BusinessHomePage

MapiContact.cs

Gets the address of the business web page.

public string? BusinessHomePage { get; }

Property value

string?

BusinessTelephoneNumber

MapiContact.cs

Gets the business telephone number.

public string? BusinessTelephoneNumber { get; }

Property value

string?

CompanyName

MapiContact.cs

Gets the name of the company.

public string? CompanyName { get; }

Property value

string?

DepartmentName

MapiContact.cs

Gets the department.

public string? DepartmentName { get; }

Property value

string?

DisplayName

MapiContact.cs

Gets the display name of the contact.

public string? DisplayName { get; }

Property value

string?

DisplayNamePrefix

MapiContact.cs

Gets the title before the name, such as "Dr.".

public string? DisplayNamePrefix { get; }

Property value

string?

Email1Address

MapiContact.cs

Gets the first email address.

public string? Email1Address { get; }

Property value

string?

Email1AddressType

MapiContact.cs

Gets the type of the first email address, such as SMTP.

public string? Email1AddressType { get; }

Property value

string?

Email1DisplayName

MapiContact.cs

Gets the display name of the first email address.

public string? Email1DisplayName { get; }

Property value

string?

Email2Address

MapiContact.cs

Gets the second email address.

public string? Email2Address { get; }

Property value

string?

Email2DisplayName

MapiContact.cs

Gets the display name of the second email address.

public string? Email2DisplayName { get; }

Property value

string?

Email3Address

MapiContact.cs

Gets the third email address.

public string? Email3Address { get; }

Property value

string?

Email3DisplayName

MapiContact.cs

Gets the display name of the third email address.

public string? Email3DisplayName { get; }

Property value

string?

EmailAddresses

MapiContact.cs

Gets the email addresses of the contact that are set, in order.

public IReadOnlyList<string> EmailAddresses { get; }

Property value

IReadOnlyList<string>

Gets the name the contact is filed under, such as "Last, First".

public string? FileAs { get; }

Property value

string?

Generation

MapiContact.cs

Gets the suffix after the name, such as "Jr.".

public string? Generation { get; }

Property value

string?

Gets the given (first) name.

public string? GivenName { get; }

Property value

string?

HomeAddress

MapiContact.cs

Gets the home address.

public MapiPostalAddress HomeAddress { get; }

Property value

MapiPostalAddress

HomeTelephoneNumber

MapiContact.cs

Gets the home telephone number.

public string? HomeTelephoneNumber { get; }

Property value

string?

Gets the initials.

public string? Initials { get; }

Property value

string?

InstantMessagingAddress

MapiContact.cs

Gets the instant messaging address.

public string? InstantMessagingAddress { get; }

Property value

string?

Gets the job title.

public string? JobTitle { get; }

Property value

string?

MiddleName

MapiContact.cs

Gets the middle name.

public string? MiddleName { get; }

Property value

string?

MobileTelephoneNumber

MapiContact.cs

Gets the mobile telephone number.

public string? MobileTelephoneNumber { get; }

Property value

string?

Gets the nickname.

public string? Nickname { get; }

Property value

string?

OfficeLocation

MapiContact.cs

Gets the office location.

public string? OfficeLocation { get; }

Property value

string?

PersonalHomePage

MapiContact.cs

Gets the address of the personal web page.

public string? PersonalHomePage { get; }

Property value

string?

Gets the surname (last name).

public string? Surname { get; }

Property value

string?