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

返回或设置一个字符串, 表示所选的联系人通讯地址中的市/县名称部分。Returns or sets a String representing the city name portion of the selected mailing address of the contact. 读/写。Read/write.


expressionexpression. MailingAddressCity

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


此属性可复制**SelectedMailingAddress** 属性指示的属性, 该属性是下列OlMailingAddress常量之一: olBusinessolHomenumberofrecipientselectorsolnoneolOtherThis property replicates the property indicated by the SelectedMailingAddress property, which is one of the following OlMailingAddress constants: olBusiness, olHome, olNone, or olOther. 虽然它可以进行更改或输入独立,任何此类更改或输入此属性将覆盖的任何后续更改或输入 SelectedMailingAddress 由指示的属性。While it can be changed or entered independently, any such changes or entries to this property will be overwritten by any subsequent changes or entries to the property indicated by SelectedMailingAddress.

另请参阅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.