List.ItemCount property

Gets a value that specifies the number of list items in the list.

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

public int ItemCount { get; }

Property value

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

It must be greater than or equal to zero.

Show: