SiteElementControl.ListItem property
Gets the SPListItem the control refers to.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Overrides ReadOnly Property ListItem As SPListItem
Get
'Usage
Dim instance As SiteElementControl
Dim value As SPListItem
value = instance.ListItem
public override SPListItem ListItem { get; }
Property value
Type: Microsoft.SharePoint.SPListItem
The SPListItem object that the control refers to.