ee.Image.id
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Gibt die ID eines bestimmten Elements in einer Sammlung zurück. Objekte außerhalb von Sammlungen haben nicht unbedingt IDs.
Nutzung | Ausgabe |
---|
Image.id() | String |
Argument | Typ | Details |
---|
So gehts: element | Element | Das Element, aus dem die ID stammt. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-26 (UTC)."],[[["\u003cp\u003e\u003ccode\u003eid()\u003c/code\u003e returns the unique identifier of an element within a collection.\u003c/p\u003e\n"],["\u003cp\u003eThis method is primarily used with elements like Images and returns a String value representing the ID.\u003c/p\u003e\n"],["\u003cp\u003eElements outside of collections may not have assigned IDs, so using this method on them might not yield predictable results.\u003c/p\u003e\n"]]],[],null,["# ee.Image.id\n\nReturns the ID of a given element within a collection. Objects outside collections are not guaranteed to have IDs.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------|---------|\n| Image.id`()` | String |\n\n| Argument | Type | Details |\n|-----------------|---------|-----------------------------------------|\n| this: `element` | Element | The element from which the ID is taken. |"]]