ee.Image.id
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แสดงผลรหัสขององค์ประกอบที่ระบุภายในคอลเล็กชัน เราไม่รับประกันว่าออบเจ็กต์ภายนอกคอลเล็กชันจะมีรหัส
การใช้งาน | การคืนสินค้า |
---|
Image.id() | สตริง |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ element | องค์ประกอบ | องค์ประกอบที่นำรหัสมาใช้ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 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. |"]]