Outlook) (ContactItem 对象

代表“联系人”文件夹中的联系人。

备注

联系人可代表与您有个人或工作联系的任何人。

使用 CreateItem 方法创建一个表示新联系人 创建 ContactItem 对象。

使用 Items (索引) ,其中 index 是联系人的索引号或用于匹配联系人的默认属性的值,以便从“联系人”文件夹中返回单个 ContactItem 对象。

示例

以下 Visual Basic for Applications (VBA) 示例返回新联系人。

Set myItem = Application.CreateItem(olContactItem)

事件

名称
AfterWrite
AttachmentAdd
AttachmentRead
AttachmentRemove
BeforeAttachmentAdd
BeforeAttachmentPreview
BeforeAttachmentRead
BeforeAttachmentSave
BeforeAttachmentWriteToTempFile
BeforeAutoSave
BeforeCheckNames
BeforeDelete
BeforeRead
Close
CustomAction
CustomPropertyChange
转发
Open
PropertyChange
读取
ReadComplete
Reply
ReplyAll
Send
Unload
Write

方法

名称
AddBusinessCardLogoPicture
AddPicture
ClearTaskFlag
Close
Copy
删除
Display
ForwardAsBusinessCard
ForwardAsVcard
GetConversation
MarkAsTask
Move
PrintOut
RemovePicture
ResetBusinessCard
Save
SaveAs
SaveBusinessCardImage
ShowBusinessCardEditor
ShowCategoriesDialog
ShowCheckAddressDialog
ShowCheckFullNameDialog
ShowCheckPhoneDialog

属性

名称
Account
操作
周年
应用程序
AssistantName
AssistantTelephoneNumber
附件
AutoResolvedWinner
BillingInformation
生日
Body
Business2TelephoneNumber
BusinessAddress
BusinessAddressCity
BusinessAddressCountry
BusinessAddressPostalCode
BusinessAddressPostOfficeBox
BusinessAddressState
BusinessAddressStreet
BusinessCardLayoutXml
BusinessCardType
BusinessFaxNumber
BusinessHomePage
BusinessTelephoneNumber
CallbackTelephoneNumber
CarTelephoneNumber
类别
子女
Companies
CompanyAndFullName
CompanyLastFirstNoSpace
CompanyLastFirstSpaceOnly
CompanyMainTelephoneNumber
CompanyName
ComputerNetworkName
Conflicts
ConversationID
ConversationIndex
ConversationTopic
CreationTime
CustomerID
Department
DownloadState
Email1Address
Email1AddressType
Email1DisplayName
Email1EntryID
Email2Address
Email2AddressType
Email2DisplayName
Email2EntryID
Email3Address
Email3AddressType
Email3DisplayName
Email3EntryID
EntryID
FileAs
FirstName
FormDescription
Ftp 站点
FullName
FullNameAndCompany
Gender
GetInspector
GovernmentIDNumber
HasPicture
业余爱好
Home2TelephoneNumber
HomeAddress
HomeAddressCity
HomeAddressCountry
HomeAddressPostalCode
HomeAddressPostOfficeBox
HomeAddressState
HomeAddressStreet
HomeFaxNumber
HomeTelephoneNumber
IMAddress
Importance
缩写
InternetFreeBusyAddress
IsConflict
ISDNNumber
IsMarkedAsTask
ItemProperties
JobTitle
日记
语言
LastFirstAndSuffix
LastFirstNoSpace
LastFirstNoSpaceAndSuffix
LastFirstNoSpaceCompany
LastFirstSpaceOnly
LastFirstSpaceOnlyCompany
LastModificationTime
LastName
LastNameAndFirstName
MailingAddress
MailingAddressCity
MailingAddressCountry
MailingAddressPostalCode
MailingAddressPostOfficeBox
MailingAddressState
MailingAddressStreet
ManagerName
MarkForDownload
MessageClass
MiddleName
Mileage
MobileTelephoneNumber
NetMeetingAlias
NetMeetingServer
NickName
NoAging
OfficeLocation
OrganizationalIDNumber
OtherAddress
OtherAddressCity
OtherAddressCountry
OtherAddressPostalCode
OtherAddressPostOfficeBox
OtherAddressState
OtherAddressStreet
OtherFaxNumber
OtherTelephoneNumber
OutlookInternalVersion
OutlookVersion
PagerNumber
Parent
PersonalHomePage
PrimaryTelephoneNumber
职业
PropertyAccessor
RadioTelephoneNumber
ReferredBy
ReminderOverrideDefault
ReminderPlaySound
ReminderSet
ReminderSoundFile
ReminderTime
RTFBody
Saved
SelectedMailingAddress
Sensitivity
Session
Size
配偶
Subject
后缀
TaskCompletedDate
TaskDueDate
TaskStartDate
TaskSubject
TelexNumber
标题
ToDoTaskOrdinal
TTYTDDTelephoneNumber
UnRead
User1
User2
User3
User4
UserProperties
WebPage
YomiCompanyName
YomiFirstName
YomiLastName

另请参阅

Outlook 对象模型引用ContactItem 对象成员

支持和反馈

有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。