Freigeben über


List.ItemCount-Eigenschaft

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

Namespace:  Microsoft.SharePoint.Client
Assemblys:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (in Microsoft.SharePoint.Client.Phone.dll)  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; }

Eigenschaftswert

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

Hinweise

It must be greater than or equal to zero.

Siehe auch

Referenz

List Klasse

List-Member

Microsoft.SharePoint.Client-Namespace