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

Syntax

'Declaration
Public ReadOnly Property ListItem As SPListItem
    Get
'Usage
Dim instance As FormComponent
Dim value As SPListItem

value = instance.ListItem
public SPListItem ListItem { get; }

Property Value

Type: Microsoft.SharePoint.SPListItem

Remarks

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.

See Also

Reference

FormComponent Class

FormComponent Members

Microsoft.SharePoint.WebControls Namespace