Partager via


Items Property

The Items property of the SPList class gets the collection of all items in the list.

Property Value

A Microsoft.SharePoint.SPListItemCollection object that represents the collection of items.

Remarks

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.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security