ee.Feature.id
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מחזירה את המזהה של רכיב נתון באוסף. לא מובטח שיהיו מזהים לאובייקטים מחוץ לאוספים.
שימוש | החזרות |
---|
Feature.id() | מחרוזת |
ארגומנט | סוג | פרטים |
---|
זה: element | רכיב | הרכיב שממנו נלקח המזהה. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eThe \u003ccode\u003e.id()\u003c/code\u003e method retrieves the unique identifier of an element within a collection.\u003c/p\u003e\n"],["\u003cp\u003eObjects not belonging to a collection may not possess IDs.\u003c/p\u003e\n"],["\u003cp\u003eThe method is called on an element and returns the ID as a string.\u003c/p\u003e\n"]]],[],null,["# ee.Feature.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| Feature.id`()` | String |\n\n| Argument | Type | Details |\n|-----------------|---------|-----------------------------------------|\n| this: `element` | Element | The element from which the ID is taken. |"]]