This documentation is archived and is not being maintained.

Item(Int32) Property

SharePoint 2003

The Item property of the SPListItemCollection class gets the list item at the specified index in the collection.

[C#] In C#, this property is an indexer for the SPListItemCollection class.


iIndex   A 32-bit integer that specifies the index.

Property Value

A Microsoft.SharePoint.SPListItem object that represents the item.


The Item property throws an ArgumentOutOfRangeException if the specified index is outside the valid range of indices for the collection.


Platforms: Microsoft Windows Server 2003

Security: Code Access Security