ee.ImageCollection.copyProperties
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
คัดลอกพร็อพเพอร์ตี้ข้อมูลเมตาจากองค์ประกอบหนึ่งไปยังอีกองค์ประกอบหนึ่ง
การใช้งาน | การคืนสินค้า |
---|
ImageCollection.copyProperties(source, properties, exclude) | องค์ประกอบ |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ destination | องค์ประกอบ ค่าเริ่มต้น: null | ออบเจ็กต์ที่จะลบล้างพร็อพเพอร์ตี้ |
source | องค์ประกอบ ค่าเริ่มต้น: null | ออบเจ็กต์ที่จะคัดลอกพร็อพเพอร์ตี้ |
properties | รายการ (ค่าเริ่มต้น: null) | พร็อพเพอร์ตี้ที่จะคัดลอก หากไม่ระบุ ระบบจะคัดลอกพร็อพเพอร์ตี้ทั่วไปทั้งหมด (เช่น พร็อพเพอร์ตี้ที่ไม่ใช่ของระบบ) |
exclude | รายการ (ค่าเริ่มต้น: null) | รายการพร็อพเพอร์ตี้ที่จะยกเว้นเมื่อคัดลอกพร็อพเพอร์ตี้ทั้งหมด ต้องไม่ระบุหากมีการระบุพร็อพเพอร์ตี้ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eCopies metadata properties from a source element to a destination element within an ImageCollection.\u003c/p\u003e\n"],["\u003cp\u003eAllows for selection of specific properties to copy or exclude using the \u003ccode\u003eproperties\u003c/code\u003e and \u003ccode\u003eexclude\u003c/code\u003e parameters, respectively.\u003c/p\u003e\n"],["\u003cp\u003eIf \u003ccode\u003eproperties\u003c/code\u003e and \u003ccode\u003eexclude\u003c/code\u003e are not specified, all non-system properties are copied.\u003c/p\u003e\n"],["\u003cp\u003eReturns the modified destination element.\u003c/p\u003e\n"]]],["The core functionality copies metadata properties from a source element to a destination element. Users can specify which properties to copy through a list, or copy all ordinary properties. Alternatively, users can specify a list of properties to exclude during the copying process, but only when copying all properties. The destination element is modified based on the source element and user-specified properties or exclusions. This operation returns the modified destination element.\n"],null,["# ee.ImageCollection.copyProperties\n\nCopies metadata properties from one element to another.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------------------------------|---------|\n| ImageCollection.copyProperties`(`*source* `, `*properties* `, `*exclude*`)` | Element |\n\n| Argument | Type | Details |\n|---------------------|------------------------|--------------------------------------------------------------------------------------------------------|\n| this: `destination` | Element, default: null | The object whose properties to override. |\n| `source` | Element, default: null | The object from which to copy the properties. |\n| `properties` | List, default: null | The properties to copy. If omitted, all ordinary (i.e. non-system) properties are copied. |\n| `exclude` | List, default: null | The list of properties to exclude when copying all properties. Must not be specified if properties is. |"]]