Partager via


List.ItemCount - Propriété

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

Espace de noms :  Microsoft.SharePoint.Client
Assemblys :   Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)

Syntaxe

'Déclaration
Public ReadOnly Property ItemCount As Integer
    Get
'Utilisation
Dim instance As List
Dim value As Integer

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

Valeur de propriété

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

Remarques

It must be greater than or equal to zero.

Voir aussi

Référence

List classe

List - Membres

Microsoft.SharePoint.Client - Espace de noms