Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The IContactinterface represents a contact in the Contacts folder. Its methods can be used to save, delete, duplicate, or display a contact. The IPOutlookItemCollectioninterface can be used to add new contacts or retrieve existing ones.

Methods in Vtable Order

IContact methods Description

IContact::get_Birthday

Gets the birth date for the contact.

IContact::get_Anniversary

Gets the wedding anniversary date for the contact.

IContact::get_BusinessFaxNumber

Gets the business fax number for the contact.

IContact::get_CompanyName

Gets the company name for the contact.

IContact::get_Department

Gets the department name for the contact.

IContact::get_Email1Address

Gets the first e-mail address for the contact.

IContact::get_MobileTelephoneNumber

Gets the mobile or cellular telephone number for the contact.

IContact::get_OfficeLocation

Gets the office location for the contact.

IContact::get_PagerNumber

Gets the pager number for the contact.

IContact::get_BusinessTelephoneNumber

Gets the business telephone number for the contact.

IContact::get_JobTitle

Gets the job title for the contact.

IContact::get_HomeTelephoneNumber

Gets the home telephone number for the contact.

IContact::get_Email2Address

Gets the second e-mail address for the contact.

IContact::get_Spouse

Gets the name of contact's spouse/partner.

IContact::get_Email3Address

Gets the third e-mail address for the contact.

IContact::get_Home2TelephoneNumber

Gets the second home telephone number for the contact.

IContact::get_HomeFaxNumber

Gets the home fax number for the contact.

IContact::get_CarTelephoneNumber

Gets the car phone number for the contact.

IContact::get_AssistantName

Gets the name of contact's assistant.

IContact::get_AssistantTelephoneNumber

Gets the phone number for the contact's assistant.

IContact::get_Children

Gets the names of contact's children.

IContact::get_Categories

Gets the categories for contact.

IContact::get_WebPage

Gets the Web page for contact.

IContact::get_Business2TelephoneNumber

Gets the second business telephone number for the contact.

IContact::get_Title

Gets the job title for the contact.

IContact::get_FirstName

Gets the first name for the contact.

IContact::get_MiddleName

Gets the middle name for the contact.

IContact::get_LastName

Gets the last name for the contact.

IContact::get_Suffix

Gets the suffix for the contact name.

IContact::get_HomeAddressStreet

Gets the home street address for the contact.

IContact::get_HomeAddressCity

Gets the home city for the contact.

IContact::get_HomeAddressState

Gets the home state, department, or province for the contact.

IContact::get_HomeAddressPostalCode

Gets the home ZIP or postal code for the contact.

IContact::get_HomeAddressCountry

Gets the home country/region for the contact.

IContact::get_OtherAddressStreet

Gets the alternative street address for the contact.

IContact::get_OtherAddressCity

Gets the alternative city for the contact.

IContact::get_OtherAddressState

Gets the alternative state, department, or province for the contact.

IContact::get_OtherAddressPostalCode

Gets the alternative ZIP or postal code for the contact.

IContact::get_OtherAddressCountry

Gets the alternative country/region for the contact.

IContact::get_BusinessAddressStreet

Gets the business street address for the contact.

IContact::get_BusinessAddressCity

Gets the business city for the contact.

IContact::get_BusinessAddressState

Gets the business state for the contact.

IContact::get_BusinessAddressPostalCode

Gets the business ZIP or postal code for the contact.

IContact::get_BusinessAddressCountry

Gets the business country/region for the contact.

IContact::get_RadioTelephoneNumber

Gets the radio telephone number for the contact.

IContact::get_FileAs

Gets the filing string for a contact.

IContact::get_Body

Gets the notes for a contact.

IContact::get_YomiCompanyName

Gets the Japanese phonetic rendering (Yomigana) of the company name for the contact.

IContact::get_YomiFirstName

Gets the Japanese phonetic rendering (Yomigana) of the first name for the contact.

IContact::get_YomiLastName

Gets the Japanese phonetic rendering (Yomigana) of the last name for the contact.

IContact::put_Birthday

Sets the birth date for the contact.

IContact::put_Anniversary

Sets the wedding anniversary date for the contact.

IContact::put_BusinessFaxNumber

Sets the business fax number for the contact.

IContact::put_CompanyName

Sets the company name for the contact.

IContact::put_Department

Sets the department name for the contact.

IContact::put_Email1Address

Sets the first e-mail address for the contact.

IContact::put_MobileTelephoneNumber

Sets the mobile or cellular telephone number for the contact.

IContact::put_OfficeLocation

Sets the office location for the contact.

IContact::put_PagerNumber

Sets the pager number for the contact.

IContact::put_BusinessTelephoneNumber

Sets the business telephone number for the contact.

IContact::put_JobTitle

Sets the job title for the contact.

IContact::put_HomeTelephoneNumber

Sets the home telephone number for the contact.

IContact::put_Email2Address

Sets the second e-mail address for the contact.

IContact::put_Spouse

Sets the name of contact's spouse/partner.

IContact::put_Email3Address

Sets the third e-mail address for the contact.

IContact::put_Home2TelephoneNumber

Sets the second home telephone number for the contact.

IContact::put_HomeFaxNumber

Sets the home fax number for the contact.

IContact::put_CarTelephoneNumber

Sets the car phone number for the contact.

IContact::put_AssistantName

Sets the name of contact's assistant.

IContact::put_AssistantTelephoneNumber

Sets the phone number for the contact's assistant.

IContact::put_Children

Sets the names of contact's children.

IContact::put_Categories

Sets the categories for contact.

IContact::put_WebPage

Sets the Web page for contact.

IContact::put_Business2TelephoneNumber

Sets the second business telephone number for the contact.

IContact::put_Title

Sets the job title for the contact.

IContact::put_FirstName

Sets the first name for the contact.

IContact::put_MiddleName

Sets the middle name for the contact.

IContact::put_LastName

Sets the last name for the contact.

IContact::put_Suffix

Sets the suffix for the contact name.

IContact::put_HomeAddressStreet

Sets the home street address for the contact.

IContact::put_HomeAddressCity

Sets the home city for the contact.

IContact::put_HomeAddressState

Sets the home state, department, or province for the contact.

IContact::put_HomeAddressPostalCode

Sets the home ZIP or postal code for the contact.

IContact::put_HomeAddressCountry

Sets the home country/region for the contact.

IContact::put_OtherAddressStreet

Sets the alternative street address for the contact.

IContact::put_OtherAddressCity

Sets the alternative city for the contact.

IContact::put_OtherAddressState

Sets the alternative state, department, or province for the contact.

IContact::put_OtherAddressPostalCode

Sets the alternative ZIP or postal code for the contact.

IContact::put_OtherAddressCountry

Sets the alternative country/region for the contact.

IContact::put_BusinessAddressStreet

Sets the business street address for the contact.

IContact::put_BusinessAddressCity

Sets the business city for the contact.

IContact::put_BusinessAddressState

Sets the business state for the contact.

IContact::put_BusinessAddressPostalCode

Sets the business ZIP or postal code for the contact.

IContact::put_BusinessAddressCountry

Sets the business country/region for the contact.

IContact::put_RadioTelephoneNumber

Sets the radio telephone number for the contact.

IContact::put_FileAs

Sets the filing string for a contact.

IContact::put_Body

Sets the notes for a contact.

IContact::put_YomiCompanyName

Sets the Japanese phonetic rendering (Yomigana) of the company name for the contact.

IContact::put_YomiFirstName

Sets the Japanese phonetic rendering (Yomigana) of the first name for the contact.

IContact::put_YomiLastName

Sets the Japanese phonetic rendering (Yomigana) of the last name for the contact.

IContact::Save

Saves a Contact item.

IContact::Delete

Deletes a Contact item.

IContact::Copy

Copies a Contact item.

IContact::Display

Displays the Contact item's Summarytab.

IContact::get_Oid

Gets the object identifier (OID) for an item.

IContact::put_BodyInk

Sets a binary representation of the Contact body.

IContact::get_BodyInk

Gets a binary representation of the Contact body.

IContact::get_Application

Gets the main Outlook Mobile IPOutlookAppobject.

Requirements

Header pimstore.h
Library Pimstore.lib
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also