ContactItem 属性 (Outlook)ContactItem.Email2Address property (Outlook)

返回或设置一个字符串, 表示联系人的第二个电子邮件条目的电子邮件地址。Returns or sets a String representing the email address of the second email entry for the contact. 读/写。Read/write.

语法Syntax

expressionexpression. Email2Address

_表达式_一个代表ContactItem对象的变量。expression A variable that represents a ContactItem object.

示例Example

本 Visual Basic for Applications (VBA) 示例将联系人的第二个电子邮件条目的电子邮件地址设置为 "someone@example.com"。This Visual Basic for Applications (VBA) example sets "someone@example.com" as the email address for the second email entry of a contact.

Sub CreatePeerContact() 
 
 Dim myItem As Outlook.ContactItem 
 
 
 
 Set myItem = Application.CreateItem(olContactItem) 
 
 myItem.Email2Address = "someone@example.com" 
 
 myItem.Display 
 
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.