ui.data.ActiveList.length
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แสดงผลจำนวนองค์ประกอบในรายการ
การใช้งาน | การคืนสินค้า |
---|
ActiveList.length() | ตัวเลข |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ ui.data.activelist | ui.data.ActiveList | อินสแตนซ์ ui.data.ActiveList |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eReturns the number of elements in the ActiveList.\u003c/p\u003e\n"],["\u003cp\u003eThe method is called using \u003ccode\u003eActiveList.length()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt takes one argument: the ui.data.ActiveList instance.\u003c/p\u003e\n"],["\u003cp\u003eIt returns the element count as a Number.\u003c/p\u003e\n"]]],["The `ActiveList.length()` method returns the number of elements within an `ui.data.ActiveList` instance. It takes no arguments, and the `this` context is the `ui.data.ActiveList` itself. The method's sole purpose is to provide a numerical count of the elements contained within the specified ActiveList, returning a Number data type.\n"],null,["# ui.data.ActiveList.length\n\n\u003cbr /\u003e\n\nReturns the number of elements in the list.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------|---------|\n| ActiveList.length`()` | Number |\n\n| Argument | Type | Details |\n|----------------------------|--------------------|----------------------------------|\n| this: `ui.data.activelist` | ui.data.ActiveList | The ui.data.ActiveList instance. |"]]