In The Hand - .NET Components for Mobility
Contact Class
NamespacesInTheHand.WindowsMobile.PocketOutlookContact
Contact Represents a Contact in the Contacts folder.
Declaration Syntax
C#Visual Basic
public class Contact : PimItem, IDisposable
Public Class Contact _
	Inherits PimItem _
	Implements IDisposable
Members
All MembersConstructorsMethodsPropertiesEvents



IconMemberDescription
Contact()()()
Initializes a new instance of the Contact class.

Contact(ItemId)
Initializes a new instance of the Contact class that references the item ID of an existing Contact item.

AccountName
The Account Name for the contact.

Requires Windows Mobile 5.0 or above


AccountNameChanged
Occurs when an Contact's AccountName property changes.

Requires Windows Mobile 5.0 or above


AddCategory(String)
Add a category to the item.

Requires Windows Mobile 5.0 or later

(Inherited from PimItem.)
Anniversary
Returns or sets the wedding anniversary date for the Contact.

AnniversaryChanged
Occurs when an Contact's Anniversary property changes.

AssistantName
Returns or sets the name of Contact's assistant.

AssistantNameChanged
Occurs when an Contact's AssistantName property changes.

AssistantTelephoneNumber
Returns or sets the phone number for the Contact's Assistant.

AssistantTelephoneNumberChanged
Occurs when an Contact's AssistantTelephoneNumber property changes.

Beam()()()
Infrared Send the current item via Infrared or Bluetooth (if available on the device).
(Inherited from PimItem.)
Birthday
Returns or sets the birthdate for the Contact.

BirthdayChanged
Occurs when an Contact's Birthday property changes.

Body
Body Returns or sets the text of the notes accompanying the Contact.

BodyChanged
Occurs when an Contact's Body property changes.

Business2TelephoneNumber
Returns or sets the second business telephone number for the Contact.

Business2TelephoneNumberChanged
Occurs when an Contact's Business2TelephoneNumber property changes.

BusinessAddressCity
Returns or sets the business city for the Contact.

BusinessAddressCityChanged
Occurs when an Contact's BusinessAddressCity property changes.

BusinessAddressCountry
Returns or sets the business country/region for the Contact.

BusinessAddressCountryChanged
Occurs when an Contact's BusinessAddressCountry property changes.

BusinessAddressPostalCode
Returns or sets the business ZIP or postal code for the Contact.

BusinessAddressPostalCodeChanged
Occurs when an Contact's BusinessAddressPostalCode property changes.

BusinessAddressState
Returns or sets the business state, department, or province for the Contact.

BusinessAddressStateChanged
Occurs when an Contact's BusinessAddressState property changes.

BusinessAddressStreet
Returns or sets the business street address for the Contact.

BusinessAddressStreetChanged
Occurs when an Contact's BusinessAddressStreet property changes.

BusinessFaxNumber
Returns or sets the business fax number for the Contact.

BusinessFaxNumberChanged
Occurs when an Contact's BusinessFaxNumber property changes.

BusinessTelephoneNumber
Returns or sets the business telephone number for the Contact.

BusinessTelephoneNumberChanged
Occurs when an Contact's BusinessTelephoneNumber property changes.

CarTelephoneNumber
Returns or sets the car phone number for the Contact.

CarTelephoneNumberChanged
Occurs when an Contact's CarTelephoneNumber property changes.

Categories
Returns or sets the categories for the Contact.

CategoriesChanged
Occurs when an Contact's Categories property changes.

Children
Returns or sets the names of Contact's children.

ChildrenChanged
Occurs when an Contact's Children property changes.

CompanyName
Returns or sets the company name for the Contact.

CompanyNameChanged
Occurs when an Contact's CompanyName property changes.

CompanyTelephoneNumber
The contact's company telephone number.

Requires Windows Mobile 5.0 or above


CompanyTelephoneNumberChanged
Occurs when an Contact's CompanyTelephoneNumber property changes.

Requires Windows Mobile 5.0 or above


ContactType
The type of the contact (Device or SIM contact).

Requires Windows Mobile 5.0 AKU 3 or above


Copy()()()
Copy Create a Copy of the Contact.

CustomerId
The contact's customer ID.

Requires Windows Mobile 5.0 or above


CustomerIdChanged
Occurs when an Contact's CustomerId property changes.

Requires Windows Mobile 5.0 or above


Delete()()()
Delete Delete the Contact from the database.
(Overrides PimItem.Delete()()().)
Department
Returns or sets the department name for the Contact.

DepartmentChanged
Occurs when an Contact's Department property changes.

Dispose(Boolean)
(Overrides PimItem.Dispose(Boolean).)
Dispose()()()
Releases all resources used by the PimItem.
(Inherited from PimItem.)
DoNotSynchronize
Gets or Sets a flag that identifies whether ActiveSync should synchronize this PIM item with Outlook and Exchange.

Requires Windows Mobile 6 or above

(Inherited from PimItem.)
Email1Address
Returns or sets the first e-mail address for the Contact.

Email1AddressChanged
Occurs when an Contact's Email1Address property changes.

Email2Address
Returns or sets the second e-mail address for the Contact.

Email2AddressChanged
Occurs when an Contact's Email2Address property changes.

Email3Address
Returns or sets the third e-mail address for the Contact.

Email3AddressChanged
Occurs when an Contact's Email3Address property changes.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
FileAs
Returns or sets the filing string for a Contact.

FileAsChanged
Occurs when an Contact's FileAs property changes.

Finalize()()()
Frees the resources of the current PimItem object before it is reclaimed by the garbage collector.
(Inherited from PimItem.)
FirstName
Returns or sets the first name for the Contact.

FirstNameChanged
Occurs when an Contact's FirstName property changes.

GetHashCode()()()
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
GovernmentId
The contact's government ID.

Requires Windows Mobile 5.0 or above


GovernmentIdChanged
Occurs when an Contact's GovernmentId property changes.

Requires Windows Mobile 5.0 or above


Home2TelephoneNumber
Returns or sets the second home telephone number for the Contact.

Home2TelephoneNumberChanged
Occurs when an Contact's Home2TelephoneNumber property changes.

HomeAddressCity
Returns or sets the home city for the Contact.

HomeAddressCityChanged
Occurs when an Contact's HomeAddressCity property changes.

HomeAddressCountry
Returns or sets the home country/region for the Contact.

HomeAddressCountryChanged
Occurs when an Contact's HomeAddressCountry property changes.

HomeAddressPostalCode
Returns or sets the home ZIP or postal code for the Contact.

HomeAddressPostalCodeChanged
Occurs when an Contact's HomeAddressPostalCode property changes.

HomeAddressState
Returns or sets the home state, department, or province for the Contact.

HomeAddressStateChanged
Occurs when an Contact's HomeAddressState property changes.

HomeAddressStreet
Returns or sets the home street address for the Contact.

HomeAddressStreetChanged
Occurs when an Contact's HomeAddressStreet property changes.

HomeFaxNumber
Returns or sets the home fax number for the Contact.

HomeFaxNumberChanged
Occurs when an Contact's HomeFaxNumber property changes.

HomeTelephoneNumber
Returns or sets the home telephone number for the Contact.

HomeTelephoneNumberChanged
Occurs when an Contact's HomeTelephoneNumber property changes.

IM1Address
Gets or sets the Contact's first IM address.

Requires Windows Mobile 5.0 or above


IM1AddressChanged
Occurs when an Contact's IM1Address property changes.

Requires Windows Mobile 5.0 or above


IM2Address
Gets or sets the Contact's second IM address.

Requires Windows Mobile 5.0 or above


IM2AddressChanged
Occurs when an Contact's IM2Address property changes.

Requires Windows Mobile 5.0 or above


IM3Address
Gets or sets the Contact's third IM address.

Requires Windows Mobile 5.0 or above


IM3AddressChanged
Occurs when an Contact's IM3Address property changes.

Requires Windows Mobile 5.0 or above


ItemId
Gets the PIM item's ID.
(Inherited from PimItem.)
JobTitle
Returns or sets the job title for the Contact.

JobTitleChanged
Occurs when an Contact's JobTitle property changes.

LastName
Returns or sets the last name for the Contact.

LastNameChanged
Occurs when an Contact's LastName property changes.

Manager
Gets or sets the Contact's manager's name.

ManagerChanged
Occurs when the Contact's manager's name changes.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MiddleName
Returns or sets the middle name for the Contact.

MiddleNameChanged
Occurs when an Contact's MiddleName property changes.

MobileTelephoneNumber
Returns or sets the mobile or cellular telephone number for the Contact.

MobileTelephoneNumberChanged
Occurs when an Contact's MobileTelephoneNumber property changes.

Nickname
Gets or sets the Contact's nickname. Maximum length is 1023 characters.

NicknameChanged
Occurs when the Contact's nick name changes.

OfficeLocation
Returns or sets the office location for the Contact.

OfficeLocationChanged
Occurs when an Contact's OfficeLocation property changes.

OtherAddressCity
Returns or sets the other city for the Contact.

OtherAddressCityChanged
Occurs when an Contact's OtherAddressCity property changes.

OtherAddressCountry
Returns or sets the other country/region for the Contact.

OtherAddressCountryChanged
Occurs when an Contact's OtherAddressCountry property changes.

OtherAddressPostalCode
Returns or sets the other ZIP or postal code for the Contact.

OtherAddressPostalCodeChanged
Occurs when an Contact's OtherAddressPostalCode property changes.

OtherAddressState
Returns or sets the other state, department, or province for the Contact.

OtherAddressStateChanged
Occurs when an Contact's OtherAddressState property changes.

OtherAddressStreet
Returns or sets the other street address for the Contact.

OtherAddressStreetChanged
Occurs when an Contact's OtherAddressStreet property changes.

PagerNumber
Returns or sets the pager number for the Contact.

PagerNumberChanged
Occurs when an Contact's PagerNumber property changes.

Picture
Gets the Contact's picture.

Requires Windows Mobile 5.0 or above


PictureChanged
Occurs when an Contact's Picture property changes.

Requires Windows Mobile 5.0 or above


Properties
Gets the PimPropertySet. This object is used for creating custom PIM item properties.

Requires Windows Mobile 5.0 or later

(Inherited from PimItem.)
RadioTelephoneNumber
Returns or sets the radio telephone number for the Contact.

RadioTelephoneNumberChanged
Occurs when an Contact's RadioTelephoneNumber property changes.

Recent
A value indicating whether this PIM item is in the "recently viewed" list.

Requires Windows Mobile 5.0 or above

(Inherited from PimItem.)
RemoveCategory(String)
Remove a category from the item.

Requires Windows Mobile 5.0 or later

(Inherited from PimItem.)
RingTone
Gets or sets the custom ring tone for the Contact.

Requires Windows Mobile 5.0 or above


RingToneChanged
Occurs when an Contact's RingTone property changes.

Requires Windows Mobile 5.0 or above


SaveAs(String)
Save the Contact as a vCard file.

SetPicture(String)
Sets the Contact's picture.

Requires Windows Mobile 5.0 or above


ShowDialog()()()
ShowDialog Opens the PIM item’s standard summary card.
(Inherited from PimItem.)
ShowEditDialog()()()
ShowEditDialog Opens the PIM item for editing in it's Edit tab.

Requires Windows Mobile 5.0 or later

(Inherited from PimItem.)
SourceId
An integer indicating the source, or owning application, of the PIM item.

Requires Windows Mobile 5.0 or above

(Inherited from PimItem.)
Spouse
Returns or sets the name of Contact's spouse.

SpouseChanged
Occurs when an Contact's Spouse property changes.

Suffix
Returns or sets the suffix for the Contact name.

SuffixChanged
Occurs when an Contact's Suffix property changes.

Title
Returns or sets the title for the Contact.

TitleChanged
Occurs when an Contact's Title property changes.

ToString()()()
Gets the Contact's display name.
(Overrides Object.ToString()()().)
Update()()()
Update Save the item to the database.
(Overrides PimItem.Update()()().)
WebPage
Returns or sets the web page for Contact.

WebPageChanged
Occurs when an Contact's WebPage property changes.

YomiCompanyName
Returns or sets the Japanese phonetic rendering (Yomigana) of the company name for the contact.

YomiCompanyNameChanged
Occurs when an Contact's YomiCompanyName property changes.

YomiFirstName
Returns or sets the Japanese phonetic rendering (Yomigana) of the first name for the contact.

YomiFirstNameChanged
Occurs when an Contact's YomiFirstName property changes.

YomiLastName
Returns or sets the Japanese phonetic rendering (Yomigana) of the last name for the contact.

YomiLastNameChanged
Occurs when an Contact's YomiLastName property changes.

Remarks

Equivalent to Microsoft.WindowsMobile.PocketOutlook.Contact.

Inheritance Hierarchy

Assembly: InTheHand.WindowsMobile (Module: InTheHand.WindowsMobile) Version: 3.2.0.0