Convert CollectionBase to List or data type usable with Linq

Viewed 14527

I am using Aspose cells to manipulate Excel spreadsheets. One of the types in the API is a collection of Pictures in the spreadsheet, which derives from CollectionBase:

see this link: http://www.aspose.com/documentation/.net-components/aspose.cells-for-.net/aspose.cells.pictures.html

I want to convert this type to something that allows me to use Linq expressions

What are the options for this?

I guess I could iterate over it and manually add it to a new List<Picture> But is there a better way to do this?

I have read this question Adding IEnumerable<T> to class derived from CollectionBase

But I obviously don't have control over the class that implements CollectionBace as it is a third party product

1 Answers
Related