SPContextPageInfo.ItemId property
Gets a value that represents the ListItem of the page.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
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.