MapiContactBuilder Class
A contact (IPM.Contact) to add to a folder of a PstWriter.
public sealed class MapiContactBuilder : MapiMessageBuilder- Inheritance
MapiMessageBuilderMapiContactBuilder
Constructors
| Name | Description |
|---|---|
| MapiContactBuilder() | Initializes a new instance of the MapiContactBuilder class. |
MapiContactBuilder()
MapiContactBuilder.csInitializes a new instance of the MapiContactBuilder class.
public MapiContactBuilder()Properties
| Name | Description |
|---|---|
| Birthday | Gets or sets the birthday. |
| BusinessHomePage | Gets or sets the address of the business web page. |
| BusinessTelephoneNumber | Gets or sets the business telephone number. |
| CompanyName | Gets or sets the name of the company. |
| DepartmentName | Gets or sets the department. |
| DisplayName | Gets or sets the display name. The writer composes it from the given name and the surname when it is not set. |
| Email1Address | Gets or sets the first email address (SMTP). |
| Email2Address | Gets or sets the second email address (SMTP). |
| Email3Address | Gets or sets the third email address (SMTP). |
| FileAs | Gets or sets the name the contact is filed under. |
| GivenName | Gets or sets the given (first) name. |
| HomeTelephoneNumber | Gets or sets the home telephone number. |
| JobTitle | Gets or sets the job title. |
| MiddleName | Gets or sets the middle name. |
| MobileTelephoneNumber | Gets or sets the mobile telephone number. |
| Nickname | Gets or sets the nickname. |
| Surname | Gets or sets the surname (last name). |
Birthday
MapiContactBuilder.csBusinessHomePage
MapiContactBuilder.csBusinessTelephoneNumber
MapiContactBuilder.csCompanyName
MapiContactBuilder.csDepartmentName
MapiContactBuilder.csDisplayName
MapiContactBuilder.csEmail1Address
MapiContactBuilder.csEmail2Address
MapiContactBuilder.csEmail3Address
MapiContactBuilder.csFileAs
MapiContactBuilder.csGivenName
MapiContactBuilder.csHomeTelephoneNumber
MapiContactBuilder.csJobTitle
MapiContactBuilder.csMiddleName
MapiContactBuilder.csMobileTelephoneNumber
MapiContactBuilder.csNickname
MapiContactBuilder.csSurname
MapiContactBuilder.csMethods
| Name | Description |
|---|---|
| SetBusinessAddress(MapiPostalAddress?) | Sets the business address. |
| SetHomeAddress(MapiPostalAddress?) | Sets the home address. |
SetBusinessAddress(MapiPostalAddress?)
MapiContactBuilder.csSets the business address.
public void SetBusinessAddress(MapiPostalAddress? address)Parameters
addressMapiPostalAddress?- The address, or
nullto remove it.
SetHomeAddress(MapiPostalAddress?)
MapiContactBuilder.csSets the home address.
public void SetHomeAddress(MapiPostalAddress? address)Parameters
addressMapiPostalAddress?- The address, or
nullto remove it.