get method for collections (Client API reference)
Get one or more objects from the collection depending on the arguments passed.
Syntax
collection.get([String][Number][delegate function(attribute, index)])
Parameters
Parameter | Return value | Return type |
---|---|---|
None |
All the objects in the collection | Array |
String |
The object where the name matches the argument The objects returned in the formContext.data.process namespace don't contain names. So, using the string parameter for this method returns no objects. |
Object |
Number |
The object where the index matches the number | Object |
delegate function(attribute, index) | Any objects that cause the delegate function to return true. | Array |
Related articles
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho