Returns the member at an index in a collection which can be ordered and filtered using filter expression.
Syntax 1
|
Returns the member at an index in a collection which can be ordered and filtered using filter expression. |
|
GetMemberByIndex(collection, index) |
|
Arguments: |
|
|
collection |
Collection - A collection. |
|
|
index |
Integer - The index of the member to return. |
Syntax 2
|
Returns the member at an index in a collection which can be ordered and filtered using filter expression. |
|
GetMemberByIndex(collection, index, orderby) |
|
Arguments: |
|
|
collection |
Collection - A collection. |
|
|
index |
Integer - The index of the member to return. |
|
|
orderby |
SortExpression - Field to order by. |
Syntax 3
|
Returns the member at an index in a collection which can be ordered and filtered using filter expression. |
|
GetMemberByIndex(collection, index, orderby, filter) |
|
Arguments: |
|
|
collection |
Collection - A collection. |
|
|
index |
Integer - The index of the member to return. |
|
|
orderby |
SortExpression - Field to order by. |
|
|
filter |
FilterExpression - A filter expression. |
Remarks
- Example: GetMemberByIndex(LineItems, 2) returns {Record::1}\LineItems[2].
- Example: GetMemberByIndex(LineItems, 2, ProductID) returns {Record::1}\LineItems[7].
- Example: GetMemberByIndex(LineItems, 2, ProductID, Quantity > 10) returns {Record::1}\LineItems[9].
Comments
0 comments
Please sign in to leave a comment.