Export (0) Print
Expand All

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)

public virtual 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.

© 2014 Microsoft