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

SPContext.ItemId property

Gets the ID of the item that is associated with the Microsoft SharePoint Foundation context.

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

public int ItemId { get; set; }

Property value

Type: System.Int32
A 32-bit integer that represents the ID of the item.
Show:
© 2015 Microsoft