Item Property

The Item property of the SPFile class gets the list item object that corresponds to the file if the file belongs to a document library.

Property Value

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

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security