This topic has not yet been rated - Rate this topic

FormComponent.ListItem Property

Gets the value that represents the list item, based on the ListItemID property.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
public SPListItem ListItem { get; }

The first control to reference the SPListItem object both queries for the object and stores the SPListItem object in the thread context. These actions allow all controls to use the item without multiple trips to the database.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ