SharePoint: Difference between List.items.Count and List.ItemCount

The basic difference between List.items and List.ItemCount ┬áis that list.items returns total no. of list items excluding folders while list.ItemsCount return total no. items in a list including folders. Check SPList.ItemCount property Check SPListItemCollection.Count property When we compare List.items.Count vs List.ItemCount then one more major difference between them is that List.Items.Count shows only those items …

Continue reading ‘SharePoint: Difference between List.items.Count and List.ItemCount’ »