Condividi tramite


SPContext.ListItem Property

Gets the list item associated with the Microsoft SharePoint Foundation context.

Namespace:  Microsoft.SharePoint
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 SPContext
Dim value As SPListItem

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

Property Value

Type: Microsoft.SharePoint.SPListItem
An SPListItem object that represents the list item.

See Also

Reference

SPContext Class

SPContext Members

Microsoft.SharePoint Namespace