Iteration through collection using For each ... In ... Do operator is available to object. XDTO properties are retrieved during iteration.
Access to XDTO property is possible using [...] operator. Index (starting from 0) is passed as an argument.
XDTODataObject, method Properties
XDTOPackage, property RootProperties