Returns the indicated object contained in pObj.
Warning: Without specifying returnAttached as true objects with
procedure ATTACH are skipped. Thus, the result of
ContentsCount (without specifying an ID) does not match the number of objects retrievable via Contents().