Row.Name 属性 (Visio)Row.Name property (Visio)

指定对象的名称。Specifies the name of an object. 此为只读属性。Read-only.

语法Syntax

表达式名称expression.Name

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

返回值Return value

StringString

说明Remarks

您可以获取或设置一个加载项对象或一个Font对象的Name属性, 但不能设置该属性。You can get, but not set, the Name property of an Addon object or a Font object.

您可以获取但不能设置Cell对象的Name属性。You can get, but not set, the Name property of a Cell object. 某些单元格位于已命名行中;您可以通过使用 RowName 属性获取并设置已命名的行的名称。Some cells are in named rows; you can get and set the name of a named row by using the RowName property.

单元格既有本地名称又有通用名称。A cell has both a local name and a universal name. 本地名称根据所安装的正在运行的 Microsoft Windows 版本的区域设置而有所不同。The local name differs depending on the locale for which the running version of Microsoft Windows is installed. 无论安装哪个区域设置,通用名称都相同。The universal name is the same regardless of what locale is installed. 若要获取单元格的通用名称, 请使用name属性。To get the universal name of a cell, use the Name property. 要获取本地名称,请使用 LocalName 属性。To get the local name, use the LocalName property.

备注

从 Microsoft Visio 2000 开始,您可以使用本地名称和通用名称来引用 Visio 形状、主控形状、文档、页面、行、加载项、单元格、超链接、样式、字体、主控形状快捷方式、UI 对象和图层。Beginning with Microsoft Visio 2000, you can use both local and universal names to refer to Visio shapes, masters, documents, pages, rows, add-ons, cells, hyperlinks, styles, fonts, master shortcuts, UI objects, and layers. 例如,当用户命名形状时,用户将指定一个本地名称。When a user names a shape, for example, the user is specifying a local name. 从 Microsoft Office Visio 2003 开始,ShapeSheet 电子表格在单元格公式和值中只显示通用名称。Beginning with Microsoft Office Visio 2003, the ShapeSheet spreadsheet displays only universal names in cell formulas and values. (在以前的版本中,通用名称在用户界面中不可见。(In prior versions, universal names were not visible in the user interface.)

) 作为开发人员,如果您不希望每次本地化解决方案时都更改名称,可以在程序中使用通用名称。As a developer, you can use universal names in a program when you don't want to change a name each time a solution is localized. 使用Name属性可以获取或设置超链接图层主控形状MasterShortcut页面形状样式对象的本地名称。Use the Name property to get or set a Hyperlink, Layer, Master, MasterShortcut, Page, Shape, Style, or Row object's local name. 使用 NameU 属性获取或设置其通用名称。Use the NameU property to get or set its universal name.

支持和反馈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.