Share via


Contact Members

3/29/2010

Represents a Contact item in the Contact collection. Contacts represent information records on friends, colleagues, acquaintances, or even a company. They can be used for a variety of purposes (for example, addressing mail, e-mail, and text messages). A sizable Contact collection containing richly populated Contact items, is an enormously powerful database.

The following tables list the members exposed by the Contact type.

Public Constructors

  Name Description
Contact Overloaded.  

Top

Public Properties

  Name Description
ms886538.pubproperty(en-us,MSDN.10).gif AccountName Gets or sets the Contact's account name. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif Anniversary Gets or sets the Contact's wedding anniversary date. The date must fall between 1/1/1900 and 12/31/2999 inclusive.
ms886538.pubproperty(en-us,MSDN.10).gif AssistantName Gets or sets the name of Contact's assistant. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif AssistantTelephoneNumber Gets or sets the Contact's assistant's telephone number. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif Birthday Gets or sets the Contact's birthdate. The birthdate must fall between 1/1/1900 and 12/31/2999 inclusive.
ms886538.pubproperty(en-us,MSDN.10).gif Body Gets or sets the text notes for the Contact. Maximum size is 60 KB.
ms886538.pubproperty(en-us,MSDN.10).gif Business2TelephoneNumber Gets or sets the Contact's second business telephone number. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif BusinessAddressCity Gets or sets the city name in the Contact's business address.
ms886538.pubproperty(en-us,MSDN.10).gif BusinessAddressCountry Gets or sets the country/region name in the Contact's business address.
ms886538.pubproperty(en-us,MSDN.10).gif BusinessAddressPostalCode Gets or sets the postal code in the Contact's business address.
ms886538.pubproperty(en-us,MSDN.10).gif BusinessAddressState Gets or sets the state name in the Contact's business address.
ms886538.pubproperty(en-us,MSDN.10).gif BusinessAddressStreet Gets or sets the street name in the Contact's business address.
ms886538.pubproperty(en-us,MSDN.10).gif BusinessFaxNumber Gets or sets the Contact's business fax number. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif BusinessTelephoneNumber Gets or sets the Contact's business telephone. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif CarTelephoneNumber Gets or sets the Contact's car telephone number. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif Categories Gets or sets the categories for Contact. Maximum length is 1023 characters. Categories are comma delimenated.
ms886538.pubproperty(en-us,MSDN.10).gif Children Gets or sets the names of Contact's children. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif CompanyName Gets or sets the Contact's company name. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif CompanyTelephoneNumber Gets or sets the Contact's company telephone number. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif CustomerId Gets or sets the Contact's customer ID. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif Department Gets or sets the Contact's department name. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif Email1Address Gets or sets the Contact's e-mail address. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif Email2Address Gets or sets the Contact's second e-mail address. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif Email3Address Gets or sets the Contact's third e-mail address. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif FileAs Gets or sets the filing string for the Contact. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif FirstName Gets or sets the Contact's first name. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif GovernmentId Gets or sets the Contact's government ID. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif Home2TelephoneNumber Gets or sets the Contact's second home telephone number. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif HomeAddressCity Gets or sets the city name in the Contact's home address.
ms886538.pubproperty(en-us,MSDN.10).gif HomeAddressCountry Gets or sets the country/region name in the Contact's home address.
ms886538.pubproperty(en-us,MSDN.10).gif HomeAddressPostalCode Gets or sets the postal code in the Contact's home address.
ms886538.pubproperty(en-us,MSDN.10).gif HomeAddressState Gets or sets the state name in the Contact's home address.
ms886538.pubproperty(en-us,MSDN.10).gif HomeAddressStreet Gets or sets the street name in the Contact's home address.
ms886538.pubproperty(en-us,MSDN.10).gif HomeFaxNumber Gets or sets the Contact's home fax number. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif HomeTelephoneNumber Gets or sets the Contact's home telephone number. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif IM1Address Gets or sets the Contact's first IM address. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif IM2Address Gets or sets the Contact's second IM address. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif IM3Address Gets or sets the Contact's third IM address. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif ItemId  Gets the PIM item’s ID. (inherited from PimItem)
ms886538.pubproperty(en-us,MSDN.10).gif JobTitle Gets or sets the Contact's job title. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif LastName Gets or sets the Contact's last name. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif Manager Gets or sets the Contact's manager's name. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif MiddleName Gets or sets the Contact's middle name. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif MobileTelephoneNumber Gets or sets the Contact's mobile telephone number. Maximum length is 1023 characters. This property also represents the SMS address.
ms886538.pubproperty(en-us,MSDN.10).gif Nickname gets or sets the Contact's nickname. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif OfficeLocation Gets or sets the Contact's office location. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif OtherAddressCity Gets or sets the city name in the Contact's other address.
ms886538.pubproperty(en-us,MSDN.10).gif OtherAddressCountry Gets or sets the country/region name in the Contact's other address.
ms886538.pubproperty(en-us,MSDN.10).gif OtherAddressPostalCode Gets or sets the postal code in the Contact's other address.
ms886538.pubproperty(en-us,MSDN.10).gif OtherAddressState Gets or sets the state name in the Contact's other address.
ms886538.pubproperty(en-us,MSDN.10).gif OtherAddressStreet Gets or sets the street name in the Contact's other address.
ms886538.pubproperty(en-us,MSDN.10).gif PagerNumber Gets or sets the Contact's pager number. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif Picture Gets the Contact's picture.
ms886538.pubproperty(en-us,MSDN.10).gif Properties  Gets the PimPropertySet. This object is used for creating custom PIM item properties. (inherited from PimItem)
ms886538.pubproperty(en-us,MSDN.10).gif RadioTelephoneNumber Gets or sets the Contact's radio telephone number. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif RingTone Gets or sets the custom ring tone for the Contact. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif Spouse Gets or sets the Contact's spouse's name. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif Suffix Gets or sets the Contact's name suffix. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif Title Gets or sets the Contact's title. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif WebPage Gets or sets the address of the Contact's web page. Maximum length is 1023 characters.
ms886538.pubproperty(en-us,MSDN.10).gif YomiCompanyName Gets or sets the Contact's company name rendered in the Japanese Yomigana phonetic system. Maximum length is 1023 characters. Attempting to get or set this property on non-Japanese products causes an exception.
ms886538.pubproperty(en-us,MSDN.10).gif YomiFirstName Gets or sets the Contact's first name rendered in the Japanese Yomigana phonetic system. Maximum length is 1023 characters. Attempting to get or set this property on non-Japanese products causes an exception.
ms886538.pubproperty(en-us,MSDN.10).gif YomiLastName Gets or sets the Contact's last name rendered in the Japanese Yomigana phonetic system. Maximum length is 1023 characters. Attempting to get or set this property on non-Japanese products causes an exception.

Top

Public Methods

(see also Protected Methods )

  Name Description
ms886538.pubmethod(en-us,MSDN.10).gif Copy Creates a copy of a Contact item.
ms886538.pubmethod(en-us,MSDN.10).gif CreateObjRef  (inherited from MarshalByRefObject )
ms886538.pubmethod(en-us,MSDN.10).gif Delete Overloaded.  
ms886538.pubmethod(en-us,MSDN.10).gif Equals  Overloaded. (inherited from Object )
ms886538.pubmethod(en-us,MSDN.10).gif GetHashCode  (inherited from Object )
ms886538.pubmethod(en-us,MSDN.10).gif GetLifetimeService  (inherited from MarshalByRefObject )
ms886538.pubmethod(en-us,MSDN.10).gif GetType  (inherited from Object )
ms886538.pubmethod(en-us,MSDN.10).gif InitializeLifetimeService  (inherited from MarshalByRefObject )
ms886538.pubmethod(en-us,MSDN.10).gif ms886538.static(en-us,MSDN.10).gif ReferenceEquals  (inherited from Object )
ms886538.pubmethod(en-us,MSDN.10).gif SetPicture Sets the Contact's picture.
ms886538.pubmethod(en-us,MSDN.10).gif ShowDialog  Opens the PIM item’s standard summary card. (inherited from PimItem)
ms886538.pubmethod(en-us,MSDN.10).gif ToString Overridden. Gets the Contact's display name.
ms886538.pubmethod(en-us,MSDN.10).gif Update Overridden. Saves the changes made to a Contact item by updating its enty in the Contact collection.

Top

Protected Methods

  Name Description
ms886538.protmethod(en-us,MSDN.10).gif Delete  Overloaded. (inherited from PimItem )
ms886538.protmethod(en-us,MSDN.10).gif Finalize  The PimItem class destructor. (inherited from PimItem)
ms886538.protmethod(en-us,MSDN.10).gif MemberwiseClone  (inherited from Object )

Top

Public Events

  Name Description
ms886538.pubevent(en-us,MSDN.10).gif AccountNameChanged Occurs when the Contact's account name changes.
ms886538.pubevent(en-us,MSDN.10).gif AnniversaryChanged Occurs when the Contact's anniversary changes.
ms886538.pubevent(en-us,MSDN.10).gif AssistantNameChanged Occurs when the Contact's assistant's name changes.
ms886538.pubevent(en-us,MSDN.10).gif AssistantTelephoneNumberChanged Occurs when the Contact's assistant telephone number changes.
ms886538.pubevent(en-us,MSDN.10).gif BirthdayChanged Occurs when the Contact's birthday changes.
ms886538.pubevent(en-us,MSDN.10).gif BodyChanged Occurs when the Contact's note text changes.
ms886538.pubevent(en-us,MSDN.10).gif Business2TelephoneNumberChanged Occurs when the Contact's second business telepone number changes.
ms886538.pubevent(en-us,MSDN.10).gif BusinessAddressCityChanged Occurs when the Contact's business address city name changes.
ms886538.pubevent(en-us,MSDN.10).gif BusinessAddressCountryChanged Occurs when the Contact's business address country/region name changes.
ms886538.pubevent(en-us,MSDN.10).gif BusinessAddressPostalCodeChanged Occurs when the Contact's business address postal code changes.
ms886538.pubevent(en-us,MSDN.10).gif BusinessAddressStateChanged Occurs when the Contact's business address state name changes.
ms886538.pubevent(en-us,MSDN.10).gif BusinessAddressStreetChanged Occurs when the Contact's business address street name changes.
ms886538.pubevent(en-us,MSDN.10).gif BusinessFaxNumberChanged Occurs when the Contact's business fax number changes.
ms886538.pubevent(en-us,MSDN.10).gif BusinessTelephoneNumberChanged Occurs when the Contact's business telephone number changes.
ms886538.pubevent(en-us,MSDN.10).gif CarTelephoneNumberChanged Occurs when the Contact's car telephone number changes.
ms886538.pubevent(en-us,MSDN.10).gif CategoriesChanged Occurs when the Contact's categories change.
ms886538.pubevent(en-us,MSDN.10).gif ChildrenChanged Occurs when the Contact's children's names change.
ms886538.pubevent(en-us,MSDN.10).gif CompanyNameChanged Occurs when the Contact's company name changes.
ms886538.pubevent(en-us,MSDN.10).gif CompanyTelephoneNumberChanged Occurs when the Contact's company phone number changes.
ms886538.pubevent(en-us,MSDN.10).gif CustomerIdChanged Occurs when the Contact's customer ID changes.
ms886538.pubevent(en-us,MSDN.10).gif DepartmentChanged Occurs when the Contact's department changes.
ms886538.pubevent(en-us,MSDN.10).gif Email1AddressChanged Occurs when the Contact's e-mail address changes.
ms886538.pubevent(en-us,MSDN.10).gif Email2AddressChanged Occurs when the Contact's second e-mail address changes.
ms886538.pubevent(en-us,MSDN.10).gif Email3AddressChanged Occurs when the Contact's third e-mail address changes.
ms886538.pubevent(en-us,MSDN.10).gif FileAsChanged Occurs when the Contact's FileAs name changes.
ms886538.pubevent(en-us,MSDN.10).gif FirstNameChanged Occurs when the Contact's first name changes.
ms886538.pubevent(en-us,MSDN.10).gif GovernmentIdChanged Occurs when the Contact's government ID changes.
ms886538.pubevent(en-us,MSDN.10).gif Home2TelephoneNumberChanged Occurs when the Contact's second home telephone number changes.
ms886538.pubevent(en-us,MSDN.10).gif HomeAddressCityChanged Occurs when the Contact's home address city name changes.
ms886538.pubevent(en-us,MSDN.10).gif HomeAddressCountryChanged Occurs when the Contact's home address country/region name changes.
ms886538.pubevent(en-us,MSDN.10).gif HomeAddressPostalCodeChanged Occurs when the Contact's home address postal code changes.
ms886538.pubevent(en-us,MSDN.10).gif HomeAddressStateChanged Occurs when the Contact's home address state name changes.
ms886538.pubevent(en-us,MSDN.10).gif HomeAddressStreetChanged Occurs when the Contact's home address street name changes.
ms886538.pubevent(en-us,MSDN.10).gif HomeFaxNumberChanged Occurs when the Contact's home fax number changes.
ms886538.pubevent(en-us,MSDN.10).gif HomeTelephoneNumberChanged Occurs when the Contact's home telephone number changes.
ms886538.pubevent(en-us,MSDN.10).gif IM1AddressChanged Occurs when the Contact's IM address changes.
ms886538.pubevent(en-us,MSDN.10).gif IM2AddressChanged Occurs when the Contact's second IM address changes.
ms886538.pubevent(en-us,MSDN.10).gif IM3AddressChanged Occurs when the Contact's third IM address changes.
ms886538.pubevent(en-us,MSDN.10).gif JobTitleChanged Occurs when the Contact's job title changes.
ms886538.pubevent(en-us,MSDN.10).gif LastNameChanged Occurs when the Contact's last name changes.
ms886538.pubevent(en-us,MSDN.10).gif ManagerChanged Occurs when the Contact's manager's name changes.
ms886538.pubevent(en-us,MSDN.10).gif MiddleNameChanged Occurs when the Contact's middle name changes.
ms886538.pubevent(en-us,MSDN.10).gif MobileTelephoneNumberChanged Occurs when the Contact's mobile telephone number changes.
ms886538.pubevent(en-us,MSDN.10).gif NicknameChanged Occurs when the Contact's nick name changes.
ms886538.pubevent(en-us,MSDN.10).gif OfficeLocationChanged Occurs when the Contact's office location changes.
ms886538.pubevent(en-us,MSDN.10).gif OtherAddressCityChanged Occurs when the Contact's other address city name changes.
ms886538.pubevent(en-us,MSDN.10).gif OtherAddressCountryChanged Occurs when the Contact's other address country/region name changes.
ms886538.pubevent(en-us,MSDN.10).gif OtherAddressPostalCodeChanged Occurs when the Contact's other address postal code changes.
ms886538.pubevent(en-us,MSDN.10).gif OtherAddressStateChanged Occurs when the Contact's other address state name changes.
ms886538.pubevent(en-us,MSDN.10).gif OtherAddressStreetChanged Occurs when the Contact's other address street name changes.
ms886538.pubevent(en-us,MSDN.10).gif PagerNumberChanged Occurs when the Contact's pager number changes.
ms886538.pubevent(en-us,MSDN.10).gif PictureChanged Occurs when the Contact's picture changes.
ms886538.pubevent(en-us,MSDN.10).gif RadioTelephoneNumberChanged Occurs when the Contact's radio telephone number changes.
ms886538.pubevent(en-us,MSDN.10).gif RingToneChanged Occurs when the Contact's ring tone changes.
ms886538.pubevent(en-us,MSDN.10).gif SpouseChanged Occurs when the Contact's spouse's name changes.
ms886538.pubevent(en-us,MSDN.10).gif SuffixChanged Occurs when the Contact's suffix changes.
ms886538.pubevent(en-us,MSDN.10).gif TitleChanged Occurs when the Contact's title changes.
ms886538.pubevent(en-us,MSDN.10).gif WebPageChanged Occurs when the Contact's web page address changes.
ms886538.pubevent(en-us,MSDN.10).gif YomiCompanyNameChanged Occurs when the Contact's Japanese phonetic Yomigana rendering of the company name changes.
ms886538.pubevent(en-us,MSDN.10).gif YomiFirstNameChanged Occurs when the Contact's Japanese phonetic Yomigana rendering of the first name changes.
ms886538.pubevent(en-us,MSDN.10).gif YomiLastNameChanged Occurs when the Contact's Japanese phonetic Yomigana rendering of the last name changes.

Top

See Also

Reference

Contact Class
Microsoft.WindowsMobile.PocketOutlook Namespace