ee.Feature.copyProperties
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह एक एलिमेंट से दूसरे एलिमेंट में मेटाडेटा प्रॉपर्टी कॉपी करता है.
इस्तेमाल | रिटर्न |
---|
Feature.copyProperties(source, properties, exclude) | एलिमेंट |
आर्ग्यूमेंट | टाइप | विवरण |
---|
यह: destination | Element, डिफ़ॉल्ट: null | वह ऑब्जेक्ट जिसकी प्रॉपर्टी को बदलना है. |
source | Element, डिफ़ॉल्ट: null | वह ऑब्जेक्ट जिससे प्रॉपर्टी कॉपी करनी हैं. |
properties | सूची, डिफ़ॉल्ट: null | कॉपी की जाने वाली प्रॉपर्टी. अगर इसे शामिल नहीं किया जाता है, तो सभी सामान्य (यानी कि सिस्टम से जुड़ी नहीं) प्रॉपर्टी कॉपी हो जाती हैं. |
exclude | सूची, डिफ़ॉल्ट: null | सभी प्रॉपर्टी कॉपी करते समय, बाहर रखी जाने वाली प्रॉपर्टी की सूची. अगर प्रॉपर्टी तय की गई हैं, तो इस एट्रिब्यूट की वैल्यू तय नहीं की जानी चाहिए. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eCopies metadata properties from a source element to a destination element.\u003c/p\u003e\n"],["\u003cp\u003eAllows specifying specific properties to copy or exclude, offering flexibility in property transfer.\u003c/p\u003e\n"],["\u003cp\u003eIf no specific properties are provided, it copies all standard, non-system properties by default.\u003c/p\u003e\n"],["\u003cp\u003eReturns the modified destination element after the property transfer is complete.\u003c/p\u003e\n"]]],["The `copyProperties` function transfers metadata properties from a source element to a destination element. It accepts the source and destination elements as arguments. Users can specify a list of `properties` to copy or, by omitting it, copy all non-system properties. An `exclude` list allows specific properties to be skipped during the copy operation when all properties are selected. The function returns the modified destination element.\n"],null,["# ee.Feature.copyProperties\n\nCopies metadata properties from one element to another.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------------------------------------------------|---------|\n| Feature.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. |"]]