ee.Feature.set
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הפונקציה מחליפה מאפיין מטא-נתונים אחד או יותר של רכיב.
הפונקציה מחזירה את הרכיב עם המאפיינים שצוינו שהוחלפו.
שימוש | החזרות |
---|
Feature.set(var_args) | רכיב |
ארגומנט | סוג | פרטים |
---|
זה: element | רכיב | מופע הרכיב. |
var_args | VarArgs<Object> | מילון של מאפיינים או רצף של מאפיינים עם מספר משתנה של ארגומנטים, למשל key1, value1, key2, value2, ... |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["\u003cp\u003e\u003ccode\u003eFeature.set()\u003c/code\u003e allows modification of one or more metadata properties of an Element.\u003c/p\u003e\n"],["\u003cp\u003eIt returns a new Element with the specified properties overridden, leaving the original Element unchanged.\u003c/p\u003e\n"],["\u003cp\u003eYou can provide properties using either a dictionary or a vararg sequence of key-value pairs.\u003c/p\u003e\n"]]],[],null,["# ee.Feature.set\n\n\u003cbr /\u003e\n\nOverrides one or more metadata properties of an Element.\n\n\u003cbr /\u003e\n\nReturns the element with the specified properties overridden.\n\n| Usage | Returns |\n|-------------------------|---------|\n| Feature.set`(var_args)` | Element |\n\n| Argument | Type | Details |\n|-----------------|-------------------|-------------------------------------------------------------------------------------------------------------|\n| this: `element` | Element | The Element instance. |\n| `var_args` | VarArgs\\\u003cObject\\\u003e | Either a dictionary of properties, or a vararg sequence of properties, e.g. key1, value1, key2, value2, ... |"]]