List.ItemCount Property
Gets a value that specifies the number of list items in the list.
Namespace: Microsoft.SharePoint.Client
Assemblies: Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public ReadOnly Property ItemCount As Integer
Get
'Usage
Dim instance As List
Dim value As Integer
value = instance.ItemCount
[RemoteAttribute]
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.