Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the number of direct children, including subfolders, in this folder.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property ItemCount As Integer
Get
'Usage
Dim instance As SPFolder
Dim value As Integer
value = instance.ItemCount
[ClientCallableAttribute]
public int ItemCount { get; }
Property Value
Type: System.Int32
Returns an Int32 representing the number of items contained in this folder.