Returns the specified field value of member at an index in collection which can be ordered and filtered using filter expression.
Syntax 1
|
Returns the specified field value of member at an index in collection which can be ordered and filtered using filter expression. |
|
GetMemberValueByIndex(collection, index, returnField, defaultReturnValue) |
|
Arguments: |
|
|
collection |
Collection - A collection. |
|
|
index |
Integer - The index of the member with the value to return. |
|
|
returnField |
Field - The field with the value to return. |
|
|
defaultReturnValue |
Any - Default value of type of returnfield. |
Syntax 2
|
Returns the specified field value of member at an index in collection which can be ordered and filtered using filter expression. |
|
GetMemberValueByIndex(collection, index, returnField, defaultReturnValue, orderby) |
|
Arguments: |
|
|
collection |
Collection - A collection. |
|
|
index |
Integer - The index of the member with the value to return. |
|
|
returnField |
Field - The field with the value to return. |
|
|
defaultReturnValue |
Any - Default value of type of returnfield. |
|
|
orderby |
SortExpression - Field to order by. |
Syntax 3
|
Returns the specified field value of member at an index in collection which can be ordered and filtered using filter expression. |
|
GetMemberValueByIndex(collection, index, returnField, defaultReturnValue, orderby, filter) |
|
Arguments: |
|
|
collection |
Collection - A collection. |
|
|
index |
Integer - The index of the member with the value to return. |
|
|
returnField |
Field - The field with the value to return. |
|
|
defaultReturnValue |
Any - Default value of type of returnfield. |
|
|
orderby |
SortExpression - Field to order by. |
|
|
filter |
FilterExpression - A filter expression. |
Remarks
- Example: GetMemberValueByIndex(LineItems, 2, Quantity, 1) returns 42.
- Example: GetMembervalueByIndex(LineItems, 2, Quantity, 1, ProductID) returns 42.
- Example: GetMemberValueByIndex(LineItems, 2, Quantity, 1, ProductID, Quantity > 10) returns 42.
Comments
0 comments
Please sign in to leave a comment.