Class MapiContact
Provides mapi contact functionality.
Inheritance
Inherited Members
Namespace: DRIT.Mail.Mapi
Assembly: DRIT.Mail.dll
Syntax
public class MapiContact : MapiMessage
Constructors
View SourceMapiContact()
Initializes a new instance of the MapiContact class.
Declaration
public MapiContact()
Properties
View SourceAccount
Gets or sets the account name of the contact.
Declaration
public string Account { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AddressBookProviderArrayType
Gets the state of the contact's electronic addresses and represents a set of bit flags.
Declaration
public int? AddressBookProviderArrayType { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Remarks
The value of the AddressBookProviderArrayType property MUST be a combination of flags that specify the state of the Contact object. Individual flags are specified in the following table. If this property is set, the AddressBookProviderEmailList property MUST be set as well. These two properties MUST be kept in sync with each other.
| Bit | Meaning |
|---|---|
| 0x00000001 | Email1 is defined for the contact. |
| 0x00000002 | Email2 is defined for the contact. |
| 0x00000004 | Email3 is defined for the contact. |
| 0x00000008 | Business Fax is defined for the contact. |
| 0x00000010 | Home Fax is defined for the contact. |
| 0x00000020 | Primary Fax is defined for the contact. |
AddressBookProviderEmailList
Gets or sets which Electronic Address properties are set on the Contact object.
Declaration
public int[] AddressBookProviderEmailList { get; set; }
Property Value
| Type | Description |
|---|---|
| int[] |
Remarks
Each PtypInteger32 value in this property MUST be unique in the property and MUST be set to one of the values in the following table. If this property is set, the PidLidAddressBookProviderArrayType property (section 2.2.1.2.12) MUST also be set. These two properties MUST be kept synchronized with each other.
AddressCountryCode
Gets or sets the country/region code portion of the contact's Mailing Address.
Declaration
public string AddressCountryCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AnniversaryEventEntryId
Gets the object EntryID of the Appointment object that represents the contact's anniversary.
Declaration
public byte[] AnniversaryEventEntryId { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
Assistant
Gets or sets the name of the contact's assistant.
Declaration
public string Assistant { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AssistantTelephoneNumber
Gets or sets the telephone number of the mail user's administrative assistant.
Declaration
public string AssistantTelephoneNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AutoLog
Gets or sets whether to create a Journal object for each action associated with this Contact object.
Declaration
public bool? AutoLog { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Billing
Gets or sets the billing information for the contact.
Declaration
public string Billing { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Birthday
Gets or sets the birthday of the contact, at 0:00 in the client's local time zone. This time is then converted to and saved in Coordinated Universal Time (UTC).
Declaration
public DateTime? Birthday { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
BirthdayEventEntryId
Gets the object EntryID of an optional Appointment object that represents the contact's birthday.
Declaration
public byte[] BirthdayEventEntryId { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
BirthdayLocal
Gets or sets the birthday of the contact, at 0:00 in the client's local time zone. It is saved without any time zone conversions.
Declaration
public DateTime? BirthdayLocal { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
Business2TelephoneNumber
Gets or sets a secondary telephone number at the mail user's place of business.
Declaration
public string Business2TelephoneNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
BusinessCardCardPicture
Gets or sets the image to be used on a business card, whose value MUST be either a Portable Network Graphics (PNG) or Joint Photographic Experts Group (JPEG) stream.
Declaration
public byte[] BusinessCardCardPicture { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
Remarks
This property SHOULD be used in conjunction with the PidLidBusinessCardDisplayDefinition property (section 2.2.1.7.1) as follows: the PidLidBusinessCardCardPicture property SHOULD NOT be present on a Contact object if the PidLidBusinessCardDisplayDefinition property is not present. This property also SHOULD NOT be present if the data in the PidLidBusinessCardDisplayDefinition property does not require a card image.
BusinessCardDisplayDefinition
Gets or sets the user-customization details for displaying a contact as a business card.
Declaration
public byte[] BusinessCardDisplayDefinition { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
BusinessFaxNumber
Gets or sets the business fax number for the contact.
Declaration
public string BusinessFaxNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
BusinessHomePage
Gets or sets the contact's (3) business Web page URL.
Declaration
public string BusinessHomePage { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
The value of this property, if present, SHOULD be the same as the value of the PidLidHtml property (section 2.2.1.10.12). This property is optional.
BusinessTelephoneNumber
Gets or sets the primary telephone number of the mail user's place of business.
Declaration
public string BusinessTelephoneNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CallbackTelephoneNumber
Gets or sets a telephone number to reach the mail user.
Declaration
public string CallbackTelephoneNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CarTelephoneNumber
Gets or sets the mail user's car telephone number.
Declaration
public string CarTelephoneNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ChildrensNames
Gets the names of the contact's children.
Declaration
public string[] ChildrensNames { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |
CompanyMainTelephoneNumber
Gets or sets the main telephone number of the mail user's company.
Declaration
public string CompanyMainTelephoneNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CompanyName
Gets or sets the company that employs the contact.
Declaration
public string CompanyName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ComputerNetworkName
Gets or sets the name of the network to which the contact's computer is connected.
Declaration
public string ComputerNetworkName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ContactCharacterSet
Gets or sets the character set used for this Contact object.
Declaration
public int? ContactCharacterSet { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
ContactItemData
Gets a value that can be used to help display the contact information. If present, the property MUST have six entries, each corresponding to a visible field in the client's user interface.
Declaration
public int[] ContactItemData { get; set; }
Property Value
| Type | Description |
|---|---|
| int[] |
Remarks
| The value MUST be one of the following | Meaning | One-based index into the multivalueproperty |
|---|---|---|
| 0x00000001 | The client SHOULD display the contact's (3) Home Address. | 1 |
| 0x00000002 or 0x00000000 | The client SHOULD display the contact's (3) Work Address. | 1 |
| 0x00000003 | The client SHOULD display the contact's (3) Other Address. | 1 |
| 0x00008080 | The client SHOULD display Email1. | 2 |
| 0x00008090 | The client SHOULD displayEmail2. | 2 |
| 0x000080A0 | The client SHOULD display Email3. | 2 |
| Property ID of any of the Telephone properties or of any of the fax numbers. | The client SHOULD display the corresponding property. | 3, 4, 5, 6 |
ContactUserField1
Gets or sets the custom text 1 of a business card representation of a Contact object.
Declaration
public string ContactUserField1 { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ContactUserField2
Gets or sets the custom text 2 of a business card representation of a Contact object.
Declaration
public string ContactUserField2 { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ContactUserField3
Gets or sets the custom text 3 of a business card representation of a Contact object.
Declaration
public string ContactUserField3 { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ContactUserField4
Gets the custom text 4 of a business card representation of a Contact object.
Declaration
public string ContactUserField4 { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Country
Gets or sets the country or region portion of the contact's Mailing Address.
Declaration
public string Country { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CustomerId
Gets or sets the contact's customer ID number.
Declaration
public string CustomerId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Department
Not used and MUST be ignored by the server. The client MUST set this property to an empty string.
Declaration
public string Department { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DepartmentName
Gets or sets the name of the department to which the contact belongs.
Declaration
public string DepartmentName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayName
Gets or sets the full name of the contact.
Declaration
public override string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Remarks
The full name is formatted according to an implementation-dependent algorithm that uses the values of the DisplayNamePrefix, GivenName, MiddleName, Surname, and Generation properties.
Reference: MS-OXOCNTC 2.2.1.1.8 PidTagDisplayName Property
DisplayNamePrefix
Gets or sets the title of the contact, such as "Mr." or "Mrs.".
Declaration
public string DisplayNamePrefix { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
This property is optional.
Email1AddressType
Gets or sets the address type of the electronic address for the contact
Declaration
public string Email1AddressType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
If one of these properties is present, the property value MUST be a valid address type. Address types commonly used by the client and server are "SMTP" and "EX".
Email1DisplayName
Gets or sets the user-readable display name for the email address of the contact.
Declaration
public string Email1DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Email1EmailAddress
Gets or sets the email address of the contact.
Declaration
public string Email1EmailAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
The format of an email address is determined by its address type. Therefore, the values of these properties MUST be appropriate for the address types specified for these email addresses.
Email1OriginalDisplayName
Gets or sets the Simple Mail Transfer Protocol (SMTP) email address corresponding to the email address specified insection 2.2.1.2.3 for the Contact object.
Declaration
public string Email1OriginalDisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Email1OriginalEntryId
Gets or sets the EntryID of the object corresponding to this electronic address. It MUST be either a one-off EntryID for this electronic address or a valid Address Book object EntryID.
Declaration
public byte[] Email1OriginalEntryId { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
Email2AddressType
Gets or sets the email2 address type value.
Declaration
public string Email2AddressType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Email2DisplayName
Gets or sets the email2 display name value.
Declaration
public string Email2DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Email2EmailAddress
Gets or sets the email2 email address value.
Declaration
public string Email2EmailAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Email2OriginalDisplayName
Gets or sets the email2 original display name value.
Declaration
public string Email2OriginalDisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Email2OriginalEntryId
Gets or sets the email2 original entry id value.
Declaration
public byte[] Email2OriginalEntryId { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
Email3AddressType
Gets or sets the email3 address type value.
Declaration
public string Email3AddressType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Email3DisplayName
Gets or sets the email3 display name value.
Declaration
public string Email3DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Email3EmailAddress
Gets or sets the email3 email address value.
Declaration
public string Email3EmailAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Email3OriginalDisplayName
Gets or sets the email3 original display name value.
Declaration
public string Email3OriginalDisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Email3OriginalEntryId
Gets or sets the email3 original entry id value.
Declaration
public byte[] Email3OriginalEntryId { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
Fax1AddressType
Gets or sets the address type of the electronic address for the contact. If present, MUST be set to "FAX".
Declaration
public string Fax1AddressType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Fax1EmailAddress
Gets or sets a user-friendly combination of the display name and the corresponding fax number for the contact.
Declaration
public string Fax1EmailAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
If present, SHOULD each contain a user-readable display name, followed by the "@" character, followed by a fax number.
Fax1OriginalDisplayName
Gets or sets the normalized subject for the contact.
Declaration
public string Fax1OriginalDisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Fax1OriginalEntryId
Gets or sets the one-off EntryID corresponding to this fax address.
Declaration
public byte[] Fax1OriginalEntryId { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
Fax2AddressType
Gets or sets the address type of the electronic address for the contact. If present, MUST be set to "FAX".
Declaration
public string Fax2AddressType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Fax2EmailAddress
Gets or sets a user-friendly combination of the display name and the corresponding fax number for the contact.
Declaration
public string Fax2EmailAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
If present, SHOULD each contain a user-readable display name, followed by the "@" character, followed by a fax number.
Fax2OriginalDisplayName
Gets or sets the normalized subject for the contact.
Declaration
public string Fax2OriginalDisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Fax2OriginalEntryId
Gets or sets the one-off EntryID corresponding to this fax address.
Declaration
public byte[] Fax2OriginalEntryId { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
Fax3AddressType
Gets or sets the address type of the electronic address for the contact. If present, MUST be set to "FAX".
Declaration
public string Fax3AddressType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Fax3EmailAddress
Gets or sets a user-friendly combination of the display name and the corresponding fax number for the contact.
Declaration
public string Fax3EmailAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
If present, SHOULD each contain a user-readable display name, followed by the "@" character, followed by a fax number.
Fax3OriginalDisplayName
Gets or sets the normalized subject for the contact.
Declaration
public string Fax3OriginalDisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Fax3OriginalEntryId
Gets or sets the one-off EntryID corresponding to this fax address.
Declaration
public byte[] Fax3OriginalEntryId { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
FileUnder
Gets or sets the name under which to file this contact when displaying a list of contacts.
Declaration
public string FileUnder { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FileUnderId
Gets or sets how to format the value of the PidLidFileUnder property (section 2.2.1.1.11) by using the values of other Contact Name properties.
Declaration
public int? FileUnderId { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
FileUnderList
Gets or sets a list of possible values for the FileUnderId property. Each value in this multivalue property MUST be one of the allowed values for the FileUnderId property.
Declaration
public int[] FileUnderList { get; set; }
Property Value
| Type | Description |
|---|---|
| int[] |
Remarks
The FileUnderList property is set by the client, but it is never used by either the client or the server. This property is optional.
FreeBusyLocation
Gets or sets a Uniform Resource Locator (URL) path from which a client can retrieve free/busy status information for the contact (3) as an iCalendar file, as specified in [MS-OXCICAL].
Declaration
public string FreeBusyLocation { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FtpSite
Gets or sets the contact's File Transfer Protocol (FTP) URL. FTP is a protocol used to transfer data, as specified in [RFC959].
Declaration
public string FtpSite { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Gender
Gets or sets the gender of the contact.
Declaration
public short? Gender { get; set; }
Property Value
| Type | Description |
|---|---|
| short? |
Remarks
| Value | Meaning |
|---|---|
| 0x0000 | The contact's gender is unspecified. |
| 0x0001 | The contact is female. |
| 0x0002 | The contact is male. |
Generation
Gets or sets the generation suffix of the contact, such as "Jr.", "Sr.", or "III".
Declaration
public string Generation { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
This property is optional.
GivenName
Gets or sets the given name (first name) of the contact (3).
Declaration
public string GivenName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
This property is optional.
GovernmentIdNumber
Gets or sets specifies the contact's government ID number.
Declaration
public string GovernmentIdNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Hobbies
Gets or sets the hobbies of the contact.
Declaration
public string Hobbies { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Home2TelephoneNumber
Gets or sets a secondary telephone number at the mail user's home.
Declaration
public string Home2TelephoneNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HomeAddress
Gets or sets the complete address of the contact's Home Address.
Declaration
public string HomeAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HomeAddressCity
Gets or sets the city or locality portion of the contact's (3) Home Address.
Declaration
public string HomeAddressCity { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HomeAddressCountry
Gets or sets the country or region portion of the contact's Home Address.
Declaration
public string HomeAddressCountry { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HomeAddressCountryCode
Gets or sets the country/region code portion of the contact's Home Address.
Declaration
public string HomeAddressCountryCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HomeAddressPostOfficeBox
Gets or sets the post office box portion of the contact's Home Address.
Declaration
public string HomeAddressPostOfficeBox { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
The client and the server do not use these properties when generating the full address or when parsing the full address into components. Instead, they place the post office box data as part of the street address.
HomeAddressPostalCode
Gets or sets the postal code (ZIP code) portion of the contact's Home Address.
Declaration
public string HomeAddressPostalCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HomeAddressStateOrProvince
Gets or sets the state or province portion of the contact's Home Address.
Declaration
public string HomeAddressStateOrProvince { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HomeAddressStreet
Gets or sets the street portion of the contact's Home Address. These properties can also be used to store the post office box part of the address, if it exists.
Declaration
public string HomeAddressStreet { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HomeFaxNumber
Gets or sets the home fax number for the contact.
Declaration
public string HomeFaxNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HomeTelephoneNumber
Gets or sets the primary telephone number of the mail user's home.
Declaration
public string HomeTelephoneNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Html
Gets or sets the contact's business web page URL.
Declaration
public string Html { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
The value of this property, if present, SHOULD be the same as the value of the PidTagBusinessHomePage property (section 2.2.1.10.14). This property is optional.
Initials
Gets or sets the initials of the contact. This property is optional.
Declaration
public string Initials { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
InstantMessagingAddress
Gets or sets the contact's instant messaging address.
Declaration
public string InstantMessagingAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
IsdnNumber
Gets or sets the Integrated Services Digital Network (ISDN) telephone number of the mail user.
Declaration
public string IsdnNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Language
Gets or sets the language that the contact uses.
Declaration
public string Language { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Locality
Gets or sets the city or locality portion of the contact's Mailing Address.
Declaration
public string Locality { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Location
Gets or sets the location of the contact. For example, this could be the building and office number of the contact.
Declaration
public string Location { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ManagerName
Gets or sets the name of the contact's manager.
Declaration
public string ManagerName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MiddleName
Gets or sets the middle name(s) of the contact.
Declaration
public string MiddleName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
This property is optional.
MobileTelephoneNumber
Gets or sets the mail user's cellular telephone number.
Declaration
public string MobileTelephoneNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Nickname
Gets or sets the nickname of the contact. This property is optional.
Declaration
public string Nickname { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
This property is optional.
OfficeLocation
Gets or sets the location of the office that the contact works in.
Declaration
public string OfficeLocation { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OrganizationalIdNumber
Gets or sets an organizational ID number for the contact, such as an employee ID number.
Declaration
public string OrganizationalIdNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OtherAddress
Gets or sets the complete address of the contact's Other Address.
Declaration
public string OtherAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OtherAddressCity
Gets or sets the city or locality portion of the contact's Other Address.
Declaration
public string OtherAddressCity { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OtherAddressCountry
Gets or sets the country or region portion of the contact's Other Address.
Declaration
public string OtherAddressCountry { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OtherAddressCountryCode
Gets or sets the country/region code portion of the contact's Other Address.
Declaration
public string OtherAddressCountryCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OtherAddressPostOfficeBox
Gets or sets the post office box portion of the contact's Other Address.
Declaration
public string OtherAddressPostOfficeBox { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
The client and the server do not use these properties when generating the full address or when parsing the full address into components. Instead, they place the post office box data as part of the street address.
OtherAddressPostalCode
Gets or sets the postal code (ZIP code) portion of the contact's Other Address.
Declaration
public string OtherAddressPostalCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OtherAddressStateOrProvince
Gets or sets the state or province portion of the contact's Other Address.
Declaration
public string OtherAddressStateOrProvince { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OtherAddressStreet
Gets or sets the street portion of the contact's Other Address. These properties can also be used to store the post office box part of the address, if it exists.
Declaration
public string OtherAddressStreet { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OtherTelephoneNumber
Gets or sets the other telephone number value.
Declaration
public string OtherTelephoneNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PagerTelephoneNumber
Gets or sets the mail user's pager telephone number.
Declaration
public string PagerTelephoneNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PersonalHomePage
Gets or sets the contact's personal web page URL.
Declaration
public string PersonalHomePage { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PostOfficeBox
Gets or sets the post office box portion of the contact's Mailing Address.
Declaration
public string PostOfficeBox { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
The client and the server do not use these properties when generating the full address or when parsing the full address into components. Instead, they place the post office box data as part of the street address.
PostalAddress
Gets or sets the complete address of the contact's Mailing Address.
Declaration
public string PostalAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PostalAddressId
Gets or sets which physical address is the Mailing Address for this contact.
Declaration
public int? PostalAddressId { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Remarks
If present, the property MUST have one of thevalues specified in the following table. If not set, the client SHOULD assume that the value is 0x00000000. This property is optional.
| Value | Meaning |
|---|---|
| 0x00000000 | No address is selected as the Mailing Address. |
| 0x00000001 | The Home Address is the Mailing Address. |
| 0x00000002 | The Work Address is the Mailing Address. |
| 0x00000003 | The Other Address is the Mailing Address. |
PostalCode
Gets or sets the postal code (ZIP code) portion of the contact's Mailing Address.
Declaration
public string PostalCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PrimaryFaxNumber
Gets or sets the primary fax number for the contact.
Declaration
public string PrimaryFaxNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PrimaryTelephoneNumber
Gets or sets the mail user's primary telephone number.
Declaration
public string PrimaryTelephoneNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Profession
Gets or sets the profession of the contact.
Declaration
public string Profession { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RadioTelephoneNumber
Gets or sets the mail user's radio telephone number.
Declaration
public string RadioTelephoneNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ReferenceEntryId
Gets or sets a value that is equal to the value of the EntryID of the Contact object unless the Contact object is a copy of an earlier original.
Declaration
public byte[] ReferenceEntryId { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
ReferredByName
Gets or sets the name of the person who referred this contact to the user.
Declaration
public string ReferredByName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SpouseName
Gets or sets the name of the contact's spouse/partner.
Declaration
public string SpouseName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
StateOrProvince
Gets or sets the state or province portion of the contact's Mailing Address.
Declaration
public string StateOrProvince { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
StreetAddress
Gets or sets the street portion of the contact's Mailing Address. These properties can also be used to store the post office box part of the address, if it exists.
Declaration
public string StreetAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Surname
Gets or sets the surname (family name) of the contact.
Declaration
public string Surname { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
This property is optional.
TelecommunicationsDeviceForDeafTelephoneNumber
Gets or sets the mail user's telecommunication device for the deaf (TTY/TDD) telephone number.
Declaration
public string TelecommunicationsDeviceForDeafTelephoneNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TelexNumber
Gets or sets the mail user's telex number.
Declaration
public string TelexNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Title
Gets or sets the job title of the contact.
Declaration
public string Title { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UserX509Certificate
Gets or sets a list of certificates for the contact.
Declaration
public byte[][] UserX509Certificate { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[][] |
Remarks
The format and semantics of this property are specified in [MS-OXOABK].
WeddingAnniversary
Gets or sets the wedding anniversary of the contact, at 0:00 in the client's local time zone. This time is then converted to and saved in UTC.
Declaration
public DateTime? WeddingAnniversary { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
WeddingAnniversaryLocal
Gets or sets the wedding anniversary of the contact, at 0:00 in the client's local time zone. It is saved without any time zone conversions.
Declaration
public DateTime? WeddingAnniversaryLocal { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
WorkAddress
Gets or sets the complete address of the contact's Work Address.
Declaration
public string WorkAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
WorkAddressCity
Gets or sets the city or locality portion of the contact's Work Address.
Declaration
public string WorkAddressCity { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
WorkAddressCountry
Gets or sets the country or region portion of the contact's Work Address.
Declaration
public string WorkAddressCountry { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
WorkAddressCountryCode
Gets or sets the country/region code portion of the contact's Work Address.
Declaration
public string WorkAddressCountryCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
WorkAddressPostOfficeBox
Gets or sets the post office box portion of the contact's Work Address.
Declaration
public string WorkAddressPostOfficeBox { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
The client and the server do not use these properties when generating the full address or when parsing the full address into components. Instead, they place the post office box data as part of the street address.
WorkAddressPostalCode
Gets or sets the postal code (ZIP code) portion of the contact's Work Address.
Declaration
public string WorkAddressPostalCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
WorkAddressState
Gets or sets the state or province portion of the contact's Work Address.
Declaration
public string WorkAddressState { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
WorkAddressStreet
Gets or sets the street portion of the contact's Work Address. These properties can also be used to store the post office box part of the address, if it exists.
Declaration
public string WorkAddressStreet { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
YomiCompanyName
Gets the phonetic pronunciation of the contact's company name.
Declaration
public string YomiCompanyName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
YomiFirstName
Gets or sets the phonetic pronunciation of the contact's (3) given name.
Declaration
public string YomiFirstName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
This property is optional.
YomiLastName
Gets or sets the phonetic pronunciation of the contact's (3) surname.
Declaration
public string YomiLastName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
This property is optional.