ContactItem Email3AddressType 屬性(Outlook)ContactItem.Email3AddressType property (Outlook)

會傳回或設定String ,代表連絡人第三個電子郵件專案的網址類別型(例如 EX 或 SMTP)。Returns or sets a String representing the address type (such as EX or SMTP) of the third email entry for the contact. 可讀寫。Read/write.


expressionexpression. Email3AddressType

_運算式_代表ContactItem物件的變數。expression A variable that represents a ContactItem object.


這是自由格式的文字欄位,但必須符合現有電子郵件傳輸的實際類型。This is a free-form text field, but it must match the actual type of an existing email transport.


這個 Visual Basic for Applications (VBA)範例會將 [SMTP "設定為連絡人的第三個電子郵件專案的網址類別型。This Visual Basic for Applications (VBA) example sets "SMTP" as the address type for the third email entry of a contact.

Sub SetType() 
 Dim myItem As ContactItem 
 Set myItem = Application.CreateItem(olContactItem) 
 myItem.Email3Address = "" 
 myItem.Email3AddressType = "SMTP" 
End Sub

也請參閱See also

ContactItem 物件ContactItem Object

支援和意見反應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.