//获得指定个数的子文件夹,用于分页 var pageAlbums = (from SPFolder pf in lstSubAlbums select pf) .Skip((aspnetpagerFile.CurrentPageIndex - 1) * aspnetpagerFile.PageSize) .Take(aspnetpagerFile.PageSize).ToList();