Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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 ReadOnly Property Item As SPItem
Dim instance As SPContext
Dim value As SPItem

value = instance.Item

Property value

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