In The Hand LtdIn The Hand
Contact Class
.NET Components for Mobility
Represents a Contact in the Contacts folder.
Declaration Syntax
C#Visual Basic
public sealed class Contact : PimItem, 
	IDisposable
Public NotInheritable 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.

AccountNameChanged
Occurs when an Contact's AccountName property changes.=

AddCategory(String)
Add a category to the item.
(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()()()()
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 later


CompanyTelephoneNumberChanged
Occurs when an Contact's CompanyTelephoneNumber property changes.

Requires Windows Mobile 5.0 or later


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

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

CustomerId
The contact's customer ID.

CustomerIdChanged
Occurs when an Contact's CustomerId property changes.

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)
Releases the unmanaged resources used by the Contact and optionally releases the managed resources
(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.
(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.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
GovernmentId
The contact's government ID.

GovernmentIdChanged
Occurs when an Contact's GovernmentId property changes.

HasPicture
Gets a value which indicates if the contact has a Picture set.

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.

IM1AddressChanged
Occurs when an Contact's IM1Address property changes.

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

IM2AddressChanged
Occurs when an Contact's IM2Address property changes.

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

IM3AddressChanged
Occurs when an Contact's IM3Address property changes.

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.

OnPropertyChanged(String)
(Inherited from PimItem.)
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 or sets the Contact's picture.

PictureChanged
Occurs when an Contact's Picture property changes.

Properties
Gets the PimPropertySet. This object is used for creating custom PIM item properties.
(Inherited from PimItem.)
PropertyChanged
(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.
(Inherited from PimItem.)
RemoveCategory(String)
Remove a category from the item.
(Inherited from PimItem.)
RingTone
Gets or sets the custom ring tone for the Contact.

Requires Windows Mobile 5.0 or later


RingToneChanged
Occurs when an Contact's RingTone property changes.

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

SetPicture(String)
Sets the Contact's picture.

ShowDialog()()()()
Opens the PIM item’s standard summary card.
(Inherited from PimItem.)
ShowDialog(Form)
Opens the PIM item’s standard summary card with the specified owner.
(Inherited from PimItem.)
ShowEditDialog(Form)
Opens the PIM item for editing in it's Edit tab with the specified owner.
(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.
(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
Object
PimItem
 Contact

Assembly: InTheHand.WindowsMobile.PocketOutlook (Module: InTheHand.WindowsMobile.PocketOutlook) Version: 7.0.0.0