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

字串String

備註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屬性來取得或設定超連結圖層圖形、 MasterShortcutPageShapeStyleRow物件的本機名稱。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.