Enum DeveloperMetadataLocationType
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
開發人員中繼資料位置類型
列舉開發人員中繼資料位置類型。
如要呼叫列舉,請呼叫其父項類別、名稱和屬性。例如
SpreadsheetApp.DeveloperMetadataLocationType.SPREADSHEET
。
屬性
屬性 | 類型 | 說明 |
SPREADSHEET | Enum | 與頂層試算表相關聯的開發人員中繼資料位置類型。 |
SHEET | Enum | 與整個工作表相關聯的開發人員中繼資料位置類型。 |
ROW | Enum | 與資料列相關聯的開發人員中繼資料位置類型。 |
COLUMN | Enum | 與資料欄相關聯的開發人員中繼資料位置類型。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003e\u003ccode\u003eDeveloperMetadataLocationType\u003c/code\u003e is an enumeration used to specify where developer metadata is associated within a Google Sheet.\u003c/p\u003e\n"],["\u003cp\u003eIt includes four location types: \u003ccode\u003eSPREADSHEET\u003c/code\u003e, \u003ccode\u003eSHEET\u003c/code\u003e, \u003ccode\u003eROW\u003c/code\u003e, and \u003ccode\u003eCOLUMN\u003c/code\u003e for associating metadata with the entire spreadsheet, a sheet, a row, or a column, respectively.\u003c/p\u003e\n"],["\u003cp\u003eTo use an enum, refer to it using the syntax \u003ccode\u003eSpreadsheetApp.DeveloperMetadataLocationType.[Property]\u003c/code\u003e, such as \u003ccode\u003eSpreadsheetApp.DeveloperMetadataLocationType.SPREADSHEET\u003c/code\u003e.\u003c/p\u003e\n"]]],["`DeveloperMetadataLocationType` defines the locations for developer metadata. It uses enumerated types accessed via `SpreadsheetApp.DeveloperMetadataLocationType`. The available properties include `SPREADSHEET` for top-level spreadsheet metadata, `SHEET` for whole sheet metadata, `ROW` for row-specific metadata, and `COLUMN` for column-specific metadata. Each property represents a specific type of location for associating metadata.\n"],null,["# Enum DeveloperMetadataLocationType\n\nDeveloperMetadataLocationType\n\nAn enumeration of the types of developer metadata location types.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSpreadsheetApp.DeveloperMetadataLocationType.SPREADSHEET`. \n\n### Properties\n\n| Property | Type | Description |\n|---------------|--------|-------------------------------------------------------------------------------------|\n| `SPREADSHEET` | `Enum` | The location type for developer metadata associated with the top-level spreadsheet. |\n| `SHEET` | `Enum` | The location type for developer metadata associated with a whole sheet. |\n| `ROW` | `Enum` | The location type for developer metadata associated with a row. |\n| `COLUMN` | `Enum` | The location type for developer metadata associated with a column. |"]]