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)
Syntax
'Declaration
Public ReadOnly Property ItemCount As Integer
Get
'Usage
Dim instance As List
Dim value As Integer
value = instance.ItemCount
public int ItemCount { get; }
Property value
Type: System.Int32
Returns a Int32 instance representing the number of list items in the list.
Remarks
It must be greater than or equal to zero.