AfDataContainerList.get_PositionedListIterator Method [AX 2012]
Creates an iterator for the underlying list object that is positioned at the specified index.
Syntax
private ListIterator get_PositionedListIterator(int _index, [boolean _forInsert])
Run On
Called
Parameters
- _index
Type: int
The index of the element to which the iterator should point.
- _forInsert
Type: boolean
A Boolean value that indicates whether the iterator is used to insert elements.
Return Value
Type: ListIterator Class
A list iterator that is positioned at the specified index.
Remarks
If the iterator will be used to insert new elements, the value of the _forInsert parameter should be set to true.