Compartir a través de


IPerson Interface

Topic Last Modified: 2006-06-13

Manage a contact who may have a Microsoft® Exchange Server mailbox.

CLSID

CD000127-8B95-11D1-82DB-00C04FB1625D

Extends

IDispatch

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Member Summary

The following table lists the properties of the IPerson interface.

Name Description

Company

Contains the Company name for the person contact.

Configuration

Returns the IConfiguration Interface on the person contact.

DataSource

Returns the IDataSource Interface on the implementing object. This property is read-only.

Email

Contains the primary e-mail address of the person contact.

Email2

Contains the secondary e-mail address of the person contact.

Email3

Contains the tertiary e-mail address of the person contact.

EmailAddresses

Contains a list of valid e-mail addresses of the person contact.

Fields

Returns the Microsoft ActiveX® Data Objects (ADO) Fields object for the person contact. This property is read-only.

FileAs

Defines how the contact is displayed in the folder view.

FileAsMapping

Defines how to construct what is displayed for the person contact.

FirstName

Contains the first name of the person contact.

HomeCity

Contains the home city name of the person contact.

HomeCountry

Contains the home country/region name of the person contact.

HomeFax

Contains the home fax number of the person contact.

HomePhone

Contains the home telephone number of the person contact.

HomePostalAddress

Contains the home postal address street number of the person contact. This property is read-only.

HomePostalCode

Contains the home postal code (zip code for United States addresses) of the person contact.

HomePostOfficeBox

Contains the post office box number of the person contact.

HomeState

Contains the home state of the person contact.

HomeStreet

Contains the home street of the person contact.

Initials

Contains the initials of the person contact.

LastName

Contains the last name of the person contact.

MailingAddress

Contains the postal mailing address of the person contact. This property is read-only.

MailingAddressID

Identifies which address is the mailing address of the person contact.

MiddleName

Contains the middle name of the person contact.

MobilePhone

Contains the mobile telephone number of the person contact.

NamePrefix

Contains the title to precede the name of the person contact.

NameSuffix

Contains the generation qualifier. Contains the title to follow the name of the person contact.

Title

The work title or job position of the contact.

WorkCity

Contains the work city of the person contact.

WorkCountry

Contains the work country/region of the person contact.

WorkFax

Contains the work fax number of the person contact.

WorkPager

Contains the work pager number of the person contact.

WorkPhone

Contains the work telephone number of the person contact.

WorkPostalAddress

Contains the work postal address street number of the person contact. This property is read-only.

WorkPostalCode

Contains the work postal code (zip code for US addresses) of the person contact.

WorkPostOfficeBox

Contains the work post office box number of the person contact.

WorkState

Contains the work state of the person contact.

WorkStreet

Contains the work street of the person contact.

The following table lists the methods of the IPerson interface.

Name Description

GetInterface

Returns the specified dual interface on the object.

GetVCardStream

Returns the ADO Stream object containing vCard stream information about the contact.

Remarks

Use the IPerson interface to create an individual contact. Contacts are different from recipients because contacts do not appear in an address book.

If you regularly send mail to an individual, you should create an address entry for that individual using the IAddressee Interface.