SPItemEventProperties.ListItemId property

Gets the ID of the list item associated with the event.

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

'Declaration
Public ReadOnly Property ListItemId As Integer
	Get
'Usage
Dim instance As SPItemEventProperties
Dim value As Integer

value = instance.ListItemId

Property value

Type: System.Int32
A 32-bit integer that identifies the list item.

Note that this property returns invalid data, and not the item ID of the folder, if you use the Add method of the SPFolderCollection class to add a folder to a list.

Show: