Tag Info

New answers tagged

0

Option 1 Use SPFolder.Item Property to exclude system folders (those folders that does not belong to a document library): public static void ProcessFolder(SPFolder folder,Action<SPFolder> action) { action(folder); foreach (var subfolder in folder.SubFolders.Cast<SPFolder>().Where(f => f.Item != null)) { ...



Top 50 recent answers are included