Cette documentation est archivée et n’est pas conservée.

SPList.Items, propriété (Microsoft.SharePoint)

Windows SharePoint Services 3
Gets the collection of all items in the list. This property returns all metadata of each item in the list and can greatly diminish performance. It is recommended that you instead use the GetItems method to return items from a list, which allows you to specify which data to return.

Espace de noms : Microsoft.SharePoint
Assembly : Microsoft.SharePoint (dans microsoft.sharepoint.dll)

public virtual SPListItemCollection Items { get; }

Valeur de la propriété

An SPListItemCollection object that represents the collection of items.

The Items property returns all the files in a document library, including files in subfolders, but not the folders themselves. In a document library, folders are not considered items.