This ought to get you what you're looking for. It creates a list of vla-objects based on your collection.
vla-collection = XREFS <your variable
string = "ACAD:XRef"
BTW, that's seems like a nice way to get the xrefs. I would've thought to go the the blocks collection.
(defun getobject (vla-collection string / item xlist cnt)
(setq cnt 1)
(repeat (vla-get-count xrefs)
(and (= (vla-get-feature (setq item (vla-item xrefs cnt))) string)
(setq xlist (append xlist (list item)))
)
(setq cnt (1+ cnt))
)
xlist
)