ContactItem 对象 (Outlook)ContactItem object (Outlook)

代表“联系人”文件夹中的联系人。Represents a contact in a Contacts folder.

说明Remarks

联系人可代表与您有个人或工作联系的任何人。A contact can represent any person with whom you have any personal or professional contact.

使用**CreateItem** 方法可创建代表新联系人的ContactItem对象。Use the CreateItem method to create a ContactItem object that represents a new contact.

使用**项目(索引), 其中_索引_是联系人的索引号或用于与联系人的默认属性相匹配的值, 从 "联系人" 文件夹返回单个ContactItem**对象。Use Items (index), where index is the index number of a contact or a value used to match the default property of a contact, to return a single ContactItem object from a Contacts folder.

示例Example

以下 Visual Basic for Applications (VBA) 示例返回新联系人。The following Visual Basic for Applications (VBA) example returns a new contact.

Set myItem = Application.CreateItem(olContactItem)

事件Events

名称Name
AfterWriteAfterWrite
AttachmentAddAttachmentAdd
AttachmentReadAttachmentRead
AttachmentRemoveAttachmentRemove
BeforeAttachmentAddBeforeAttachmentAdd
BeforeAttachmentPreviewBeforeAttachmentPreview
BeforeAttachmentReadBeforeAttachmentRead
BeforeAttachmentSaveBeforeAttachmentSave
BeforeAttachmentWriteToTempFileBeforeAttachmentWriteToTempFile
BeforeAutoSaveBeforeAutoSave
BeforeCheckNamesBeforeCheckNames
BeforeDeleteBeforeDelete
BeforeReadBeforeRead
CloseClose
CustomActionCustomAction
CustomPropertyChangeCustomPropertyChange
转发Forward
OpenOpen
PropertyChangePropertyChange
读取Read
ReadCompleteReadComplete
ReplyReply
ReplyAllReplyAll
SendSend
UnloadUnload
WriteWrite

方法Methods

名称Name
AddBusinessCardLogoPictureAddBusinessCardLogoPicture
AddPictureAddPicture
ClearTaskFlagClearTaskFlag
CloseClose
CopyCopy
删除Delete
DisplayDisplay
ForwardAsBusinessCardForwardAsBusinessCard
ForwardAsVcardForwardAsVcard
GetConversationGetConversation
MarkAsTaskMarkAsTask
MoveMove
PrintOutPrintOut
RemovePictureRemovePicture
ResetBusinessCardResetBusinessCard
SaveSave
SaveAsSaveAs
SaveBusinessCardImageSaveBusinessCardImage
ShowBusinessCardEditorShowBusinessCardEditor
ShowCategoriesDialogShowCategoriesDialog
ShowCheckAddressDialogShowCheckAddressDialog
ShowCheckFullNameDialogShowCheckFullNameDialog
ShowCheckPhoneDialogShowCheckPhoneDialog

属性Properties

名称Name
AccountAccount
操作Actions
周年Anniversary
应用程序Application
AssistantNameAssistantName
AssistantTelephoneNumberAssistantTelephoneNumber
附件Attachments
AutoResolvedWinnerAutoResolvedWinner
BillingInformationBillingInformation
生日Birthday
BodyBody
Business2TelephoneNumberBusiness2TelephoneNumber
BusinessAddressBusinessAddress
BusinessAddressCityBusinessAddressCity
BusinessAddressCountryBusinessAddressCountry
BusinessAddressPostalCodeBusinessAddressPostalCode
BusinessAddressPostOfficeBoxBusinessAddressPostOfficeBox
BusinessAddressStateBusinessAddressState
BusinessAddressStreetBusinessAddressStreet
BusinessCardLayoutXmlBusinessCardLayoutXml
BusinessCardTypeBusinessCardType
BusinessFaxNumberBusinessFaxNumber
BusinessHomePageBusinessHomePage
BusinessTelephoneNumberBusinessTelephoneNumber
CallbackTelephoneNumberCallbackTelephoneNumber
CarTelephoneNumberCarTelephoneNumber
类别Categories
子女Children
Class
CompaniesCompanies
CompanyAndFullNameCompanyAndFullName
CompanyLastFirstNoSpaceCompanyLastFirstNoSpace
CompanyLastFirstSpaceOnlyCompanyLastFirstSpaceOnly
CompanyMainTelephoneNumberCompanyMainTelephoneNumber
CompanyNameCompanyName
ComputerNetworkNameComputerNetworkName
ConflictsConflicts
ConversationIDConversationID
ConversationIndexConversationIndex
ConversationTopicConversationTopic
CreationTimeCreationTime
CustomerIDCustomerID
DepartmentDepartment
DownloadStateDownloadState
Email1AddressEmail1Address
Email1AddressTypeEmail1AddressType
Email1DisplayNameEmail1DisplayName
Email1EntryIDEmail1EntryID
Email2AddressEmail2Address
Email2AddressTypeEmail2AddressType
Email2DisplayNameEmail2DisplayName
Email2EntryIDEmail2EntryID
Email3AddressEmail3Address
Email3AddressTypeEmail3AddressType
Email3DisplayNameEmail3DisplayName
Email3EntryIDEmail3EntryID
EntryIDEntryID
FileAsFileAs
FirstNameFirstName
FormDescriptionFormDescription
Ftp 站点FTPSite
FullNameFullName
FullNameAndCompanyFullNameAndCompany
GenderGender
GetInspectorGetInspector
GovernmentIDNumberGovernmentIDNumber
HasPictureHasPicture
业余爱好Hobby
Home2TelephoneNumberHome2TelephoneNumber
HomeAddressHomeAddress
HomeAddressCityHomeAddressCity
HomeAddressCountryHomeAddressCountry
HomeAddressPostalCodeHomeAddressPostalCode
HomeAddressPostOfficeBoxHomeAddressPostOfficeBox
HomeAddressStateHomeAddressState
HomeAddressStreetHomeAddressStreet
HomeFaxNumberHomeFaxNumber
HomeTelephoneNumberHomeTelephoneNumber
IMAddressIMAddress
ImportanceImportance
缩写Initials
InternetFreeBusyAddressInternetFreeBusyAddress
IsConflictIsConflict
ISDNNumberISDNNumber
IsMarkedAsTaskIsMarkedAsTask
ItemPropertiesItemProperties
JobTitleJobTitle
日记Journal
语言Language
LastFirstAndSuffixLastFirstAndSuffix
LastFirstNoSpaceLastFirstNoSpace
LastFirstNoSpaceAndSuffixLastFirstNoSpaceAndSuffix
LastFirstNoSpaceCompanyLastFirstNoSpaceCompany
LastFirstSpaceOnlyLastFirstSpaceOnly
LastFirstSpaceOnlyCompanyLastFirstSpaceOnlyCompany
LastModificationTimeLastModificationTime
LastNameLastName
LastNameAndFirstNameLastNameAndFirstName
MailingAddressMailingAddress
MailingAddressCityMailingAddressCity
MailingAddressCountryMailingAddressCountry
MailingAddressPostalCodeMailingAddressPostalCode
MailingAddressPostOfficeBoxMailingAddressPostOfficeBox
MailingAddressStateMailingAddressState
MailingAddressStreetMailingAddressStreet
ManagerNameManagerName
MarkForDownloadMarkForDownload
MessageClassMessageClass
MiddleNameMiddleName
MileageMileage
MobileTelephoneNumberMobileTelephoneNumber
NetMeetingAliasNetMeetingAlias
NetMeetingServerNetMeetingServer
NickNameNickName
NoAgingNoAging
OfficeLocationOfficeLocation
OrganizationalIDNumberOrganizationalIDNumber
OtherAddressOtherAddress
OtherAddressCityOtherAddressCity
OtherAddressCountryOtherAddressCountry
OtherAddressPostalCodeOtherAddressPostalCode
OtherAddressPostOfficeBoxOtherAddressPostOfficeBox
OtherAddressStateOtherAddressState
OtherAddressStreetOtherAddressStreet
OtherFaxNumberOtherFaxNumber
OtherTelephoneNumberOtherTelephoneNumber
OutlookInternalVersionOutlookInternalVersion
OutlookVersionOutlookVersion
PagerNumberPagerNumber
ParentParent
PersonalHomePagePersonalHomePage
PrimaryTelephoneNumberPrimaryTelephoneNumber
职业Profession
PropertyAccessorPropertyAccessor
RadioTelephoneNumberRadioTelephoneNumber
ReferredByReferredBy
ReminderOverrideDefaultReminderOverrideDefault
ReminderPlaySoundReminderPlaySound
ReminderSetReminderSet
ReminderSoundFileReminderSoundFile
ReminderTimeReminderTime
RTFBodyRTFBody
SavedSaved
SelectedMailingAddressSelectedMailingAddress
SensitivitySensitivity
SessionSession
SizeSize
配偶Spouse
SubjectSubject
后缀Suffix
TaskCompletedDateTaskCompletedDate
TaskDueDateTaskDueDate
TaskStartDateTaskStartDate
TaskSubjectTaskSubject
TelexNumberTelexNumber
标题Title
ToDoTaskOrdinalToDoTaskOrdinal
TTYTDDTelephoneNumberTTYTDDTelephoneNumber
UnReadUnRead
User1User1
User2User2
User3User3
User4User4
UserPropertiesUserProperties
WebPageWebPage
YomiCompanyNameYomiCompanyName
YomiFirstNameYomiFirstName
YomiLastNameYomiLastName

另请参阅See also

Outlook 对象模型引用 ContactItem 对象成员Outlook Object Model Reference ContactItem Object Members

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.