Table of contents
TOC
折叠目录
展开目录

Cell.Name 属性 (Visio)Cell.Name Property (Visio)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

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

语法Syntax

表达式名称expression . Name

表达式_一个表示单元格对象的变量。_expression A variable that represents a Cell object.

返回值Return Value

字符串String

注解Remarks

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

单元格有一个本地名称,通用名称。根据区域设置的安装正在运行的 Microsoft Windows 版本不同的本地名称。通用名称是不管安装了哪些区域设置相同。若要获取某个单元格的通用名称,请使用Name属性。要获取的本地名称,请使用LocalName属性。A cell has both a local name and a universal name. 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. To get the universal name of a cell, use the Name property. To get the local name, use the LocalName property.

请注意 从 Microsoft Visio 2000 开始,可以使用本地和通用名称来指代 Visio 形状、 主控形状、 文档、 页面、 行、 加载项、 单元格、 超链接、 样式、 字体、 主控形状快捷方式、 用户界面对象和图层。当用户为某个形状命名时,例如,用户指定的本地名称。从 Microsoft Office Visio 2003 开始,ShapeSheet 电子表格中单元格的公式和值显示只有通用名称。(在先前版本中,通用名称都不可见的用户界面中。)Note 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. 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.)

作为开发人员,您可以在程序中使用通用名称时,您不希望每次本地化解决方案时都更改名称。使用Name属性可以获取或设置超链接图层MasterShortcut形状样式、 或对象的本地名称。NameU属性用于获取或设置其通用名称。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. Use the Name property to get or set a Hyperlink , Layer , Master , MasterShortcut , Page , Shape , Style , or Row object's local name. Use the NameU property to get or set its universal name.

© 2018 Microsoft