SPContextPageInfo.ItemId Property
Gets a value that represents the ListItem of the page.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Property ItemId As Integer
Get
Friend Set
'Usage
Dim instance As SPContextPageInfo
Dim value As Integer
value = instance.ItemId
public int ItemId { get; internal set; }
Property Value
Type: System.Int32
A 32-bit integer that contains the list item of the page.
Remarks
When there is no ListItem associated with the page it is InvalidItemId.