Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Item property

SPContext.Item property

Gets either the SPListItem object that is determined by the given list and item ID, or the SPItem object that is set when the SPContext object is created.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public SPItem Item { get; }

Property value

Type: Microsoft.SharePoint.SPItem
An SPItem object that represents the item.
© 2015 Microsoft