ui.data.ActiveList.get
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
عنصر را در شاخص مشخص شده برمی گرداند.
استفاده | برمی گرداند | ActiveList. get (index) | شیء |
استدلال | تایپ کنید | جزئیات | این: ui.data.activelist | ui.data.ActiveList | نمونه ui.data.ActiveList. |
index | شماره | شاخص عنصری که باید برگردد. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThe \u003ccode\u003eget\u003c/code\u003e method retrieves the element located at the given index within an ActiveList.\u003c/p\u003e\n"],["\u003cp\u003eIt accepts the \u003ccode\u003eindex\u003c/code\u003e as a numerical argument, specifying the element's position.\u003c/p\u003e\n"],["\u003cp\u003eThe method returns the element found at the specified index, which can be of any object type.\u003c/p\u003e\n"],["\u003cp\u003eThis functionality is accessed through an instance of the \u003ccode\u003eui.data.ActiveList\u003c/code\u003e object using the \u003ccode\u003eget\u003c/code\u003e method.\u003c/p\u003e\n"]]],["The `get(index)` method of `ui.data.ActiveList` returns an element (Object) located at a specific index (Number). The method takes the `ui.data.ActiveList` instance itself as context (`this`) and the desired `index` as its argument. This function retrieves and returns the object stored at that particular index within the ActiveList.\n"],null,["# ui.data.ActiveList.get\n\n\u003cbr /\u003e\n\nReturns the element at the specified index.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------|---------|\n| ActiveList.get`(index)` | Object |\n\n| Argument | Type | Details |\n|----------------------------|--------------------|-------------------------------------|\n| this: `ui.data.activelist` | ui.data.ActiveList | The ui.data.ActiveList instance. |\n| `index` | Number | The index of the element to return. |"]]