Enum DeveloperMetadataLocationType
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
DeveloperMetadataLocationType
Enumerasi jenis jenis lokasi metadata developer.
Untuk memanggil enum, Anda memanggil class induk, nama, dan propertinya. Misalnya,
SpreadsheetApp.DeveloperMetadataLocationType.SPREADSHEET
.
Properti
Properti | Jenis | Deskripsi |
SPREADSHEET | Enum | Jenis lokasi untuk metadata developer yang terkait dengan spreadsheet tingkat atas. |
SHEET | Enum | Jenis lokasi untuk metadata developer yang terkait dengan seluruh sheet. |
ROW | Enum | Jenis lokasi untuk metadata developer yang terkait dengan baris. |
COLUMN | Enum | Jenis lokasi untuk metadata developer yang terkait dengan kolom. |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-26 UTC."],[[["\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. |"]]