I am making a SharePoint 2010 visual web part, and I want to recursively iterate through all files in a document library which has nested folders. I can get a SPListItemCollection for all items and folders in the top level. As I iterate through the files, I can check if the current file is a item or folder. If its a folder, how can I get a SPListItemCollection object for everything in that folder? When I check the API, the closest method returns a SPFileCollection...
Thanks.