Folder.ItemCount property

Gets a value that specifies the count of items in the list folder.

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

Syntax

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

value = instance.ItemCount
public int ItemCount { get; }

Property value

Type: System.Int32
Returns a Int32 instance representing the count of items in the list folder.

Exceptions

Exception Condition
[System.UnauthorizedAccessException]

The current user has insufficient permissions. Error code: -2147024891.

See also

Reference

Folder class

Folder members

Microsoft.SharePoint.Client namespace