GetOwnedByIndex - method of the PmaObject object
Description:
Returns the subobject defined by its index.
Syntax:
Object GetOwnedByIndex(Long nIndex)
Parameters:
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 Pma object tree! |
---|
Example:
JavaScriptVBScriptSelect and copy to clipboard
var o = pMe.Pm("/Folder").GetOwnedByIndex(1);
Pm.Debug("ObjectName=" + o.Name);
Dim o
Set o = pMe.Pm("/Folder").GetOwnedByIndex(1)
Pm.Debug "ObjectName=" & o.Name