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

SPItemEventProperties.ListItemId property

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

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

public int ListItemId { get; }

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.

© 2015 Microsoft