SPFolder.ItemCount property

Gets the number of direct children, including subfolders, in this folder.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

'Declaration
Public ReadOnly Property ItemCount As Integer
	Get
'Usage
Dim instance As SPFolder
Dim value As Integer

value = instance.ItemCount

Property value

Type: System.Int32
Returns an Int32 representing the number of items contained in this folder.
Show: