GetOwnedByIndex - method of object PmaObject
Returns the subobject defined by its index.
Object GetOwnedByIndex(Long nIndex)
oOwned = oObject.GetOwnedByIndex(nIndex)
|nIndex||(Long) The order (Index) of the subobject (zero-based index). |
Caution: the objects Order does not have to match the order of objects in the tree of Pma objects!
It is mainly used for multiple changes of subobjects of defined type. For Pmg objects
for the same purpose the GetChildByIndex
method can be used.