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.

使用**項目(index),其中_index_是索引編號的連絡人,或是用來符合連絡人預設屬性的值,從 [連絡人] 資料夾傳回單一的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
ForwardForward
OpenOpen
PropertyChangePropertyChange
ReadRead
ReadCompleteReadComplete
ReplyReply
ReplyAllReplyAll
SendSend
UnloadUnload
WriteWrite

方法Methods

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

屬性Properties

名稱Name
AccountAccount
ActionsActions
AnniversaryAnniversary
ApplicationApplication
AssistantNameAssistantName
AssistantTelephoneNumberAssistantTelephoneNumber
AttachmentsAttachments
AutoResolvedWinnerAutoResolvedWinner
BillingInformationBillingInformation
BirthdayBirthday
BodyBody
Business2TelephoneNumberBusiness2TelephoneNumber
BusinessAddressBusinessAddress
BusinessAddressCityBusinessAddressCity
BusinessAddressCountryBusinessAddressCountry
BusinessAddressPostalCodeBusinessAddressPostalCode
BusinessAddressPostOfficeBoxBusinessAddressPostOfficeBox
BusinessAddressStateBusinessAddressState
BusinessAddressStreetBusinessAddressStreet
BusinessCardLayoutXmlBusinessCardLayoutXml
BusinessCardTypeBusinessCardType
BusinessFaxNumberBusinessFaxNumber
BusinessHomePageBusinessHomePage
BusinessTelephoneNumberBusinessTelephoneNumber
CallbackTelephoneNumberCallbackTelephoneNumber
CarTelephoneNumberCarTelephoneNumber
CategoriesCategories
ChildrenChildren
ClassClass
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
FTPSiteFTPSite
FullNameFullName
FullNameAndCompanyFullNameAndCompany
GenderGender
GetInspectorGetInspector
GovernmentIDNumberGovernmentIDNumber
HasPictureHasPicture
HobbyHobby
Home2TelephoneNumberHome2TelephoneNumber
HomeAddressHomeAddress
HomeAddressCityHomeAddressCity
HomeAddressCountryHomeAddressCountry
HomeAddressPostalCodeHomeAddressPostalCode
HomeAddressPostOfficeBoxHomeAddressPostOfficeBox
HomeAddressStateHomeAddressState
HomeAddressStreetHomeAddressStreet
HomeFaxNumberHomeFaxNumber
HomeTelephoneNumberHomeTelephoneNumber
IMAddressIMAddress
ImportanceImportance
InitialsInitials
InternetFreeBusyAddressInternetFreeBusyAddress
IsConflictIsConflict
ISDNNumberISDNNumber
IsMarkedAsTaskIsMarkedAsTask
ItemPropertiesItemProperties
JobTitleJobTitle
JournalJournal
LanguageLanguage
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
ProfessionProfession
PropertyAccessorPropertyAccessor
RadioTelephoneNumberRadioTelephoneNumber
ReferredByReferredBy
ReminderOverrideDefaultReminderOverrideDefault
ReminderPlaySoundReminderPlaySound
ReminderSetReminderSet
ReminderSoundFileReminderSoundFile
ReminderTimeReminderTime
RTFBodyRTFBody
SavedSaved
SelectedMailingAddressSelectedMailingAddress
SensitivitySensitivity
SessionSession
SizeSize
SpouseSpouse
SubjectSubject
SuffixSuffix
TaskCompletedDateTaskCompletedDate
TaskDueDateTaskDueDate
TaskStartDateTaskStartDate
TaskSubjectTaskSubject
TelexNumberTelexNumber
TitleTitle
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.